Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CSettingsDlg Class Reference

#include <settingsDlg.h>

Inheritance diagram for CSettingsDlg:
Inheritance graph
Collaboration diagram for CSettingsDlg:
Collaboration graph

Public Types

enum  { IDD = IDD_SETTINGS }
 

Public Member Functions

 CSettingsDlg (Visio::IVApplicationPtr vsoApp)
 
LRESULT OnInitDialog (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnCloseCmd (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnNMSelChanged (int idCtrl, LPNMHDR pNMHDR, BOOL &bHandled)
 
LRESULT OnBnClickedApply (WORD, WORD, HWND, BOOL &)
 
LRESULT OnBnClickedHelp (WORD, WORD, HWND, BOOL &)
 

Protected Member Functions

CTreeItem createParentItem (LPCTSTR itemName)
 
bool showSettingsPage (int index)
 
ATL::CSettingsPageDialogcreateChildDialog (ATL::CSettingsPageDialog *dialog)
 
void addDialog (LPCTSTR itemName, ATL::CSettingsPageDialog *dialog, CTreeItem treeParent=NULL)
 

Private Attributes

std::vector
< ATL::CSettingsPageDialog * > 
m_childDialogs
 
std::vector< HTREEITEM > m_treeItems
 
CTreeViewCtrl m_dialogTree
 
int m_curDlgIndex
 
Visio::IVApplicationPtr m_vsoApp
 

Detailed Description

Definition at line 31 of file settingsDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 43 of file settingsDlg.h.

Constructor & Destructor Documentation

CSettingsDlg::CSettingsDlg ( Visio::IVApplicationPtr  vsoApp)
inline

Definition at line 45 of file settingsDlg.h.

Member Function Documentation

void CSettingsDlg::addDialog ( LPCTSTR  itemName,
ATL::CSettingsPageDialog dialog,
CTreeItem  treeParent = NULL 
)
protected

Definition at line 158 of file settingsDlg.cpp.

References createChildDialog(), m_childDialogs, m_dialogTree, and m_treeItems.

Referenced by OnInitDialog().

ATL::CSettingsPageDialog * CSettingsDlg::createChildDialog ( ATL::CSettingsPageDialog dialog)
protected

Definition at line 144 of file settingsDlg.cpp.

References ATL::CSettingsPageDialog::Create(), and IDC_CHILD_WND_CONTAINER.

Referenced by addDialog().

CTreeItem CSettingsDlg::createParentItem ( LPCTSTR  itemName)
protected

Definition at line 121 of file settingsDlg.cpp.

References m_dialogTree.

Referenced by OnInitDialog().

LRESULT CSettingsDlg::OnBnClickedApply ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 111 of file settingsDlg.cpp.

References m_childDialogs, and m_curDlgIndex.

LRESULT CSettingsDlg::OnBnClickedHelp ( WORD  ,
WORD  ,
HWND  ,
BOOL &   
)

Definition at line 116 of file settingsDlg.cpp.

References m_childDialogs, and m_curDlgIndex.

LRESULT CSettingsDlg::OnCloseCmd ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)

Definition at line 78 of file settingsDlg.cpp.

References m_childDialogs, m_treeItems, and showSettingsPage().

LRESULT CSettingsDlg::OnInitDialog ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
)

Definition at line 39 of file settingsDlg.cpp.

References addDialog(), createParentItem(), m_dialogTree, m_vsoApp, and showSettingsPage().

LRESULT CSettingsDlg::OnNMSelChanged ( int  idCtrl,
LPNMHDR  pNMHDR,
BOOL &  bHandled 
)

Definition at line 101 of file settingsDlg.cpp.

References m_dialogTree, and showSettingsPage().

bool CSettingsDlg::showSettingsPage ( int  index)
protected

Definition at line 130 of file settingsDlg.cpp.

References m_childDialogs, m_curDlgIndex, m_dialogTree, and m_treeItems.

Referenced by OnCloseCmd(), OnInitDialog(), and OnNMSelChanged().

Member Data Documentation

std::vector<ATL::CSettingsPageDialog*> CSettingsDlg::m_childDialogs
private
int CSettingsDlg::m_curDlgIndex
private

Definition at line 39 of file settingsDlg.h.

Referenced by OnBnClickedApply(), OnBnClickedHelp(), and showSettingsPage().

CTreeViewCtrl CSettingsDlg::m_dialogTree
private
std::vector<HTREEITEM> CSettingsDlg::m_treeItems
private

Definition at line 37 of file settingsDlg.h.

Referenced by addDialog(), OnCloseCmd(), and showSettingsPage().

Visio::IVApplicationPtr CSettingsDlg::m_vsoApp
private

Definition at line 40 of file settingsDlg.h.

Referenced by OnInitDialog().


The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:58 for Sequence Chart Studio by  doxygen