CTreeSettingsDlg Class Reference

#include <TreeSettingsDlg.h>

Collaboration diagram for CTreeSettingsDlg:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { IDD = IDD_TREESETTING }

Public Member Functions

 CTreeSettingsDlg (CString caption, CWnd *pParent=NULL)
int AddPage (CTreeSettingsPage *pPage, int parent=-1, int imageIndex=0, int imageIndexSelected=0)
bool ShowPage (int iPage)
void SetStartPage (int iStartPage)

Static Public Member Functions

void ShowTreeSettingsDlg (int iSettingsMask)

Public Attributes

CTreeCtrl m_tree
CGradientStatic m_PageHeader

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual void OnOK ()
virtual void OnCancel ()
afx_msg void OnSelchangingTree (NMHDR *pNMHDR, LRESULT *pResult)
virtual BOOL OnInitDialog ()
afx_msg void OnHelpBtn ()
afx_msg void OnSize (UINT nType, int cx, int cy)

Detailed Description

Tree based settings dialog.
See also:
CTreeSettingsPage


Member Function Documentation

int CTreeSettingsDlg::AddPage CTreeSettingsPage pPage,
int  parent = -1,
int  imageIndex = 0,
int  imageIndexSelected = 0
 

Adds a new page to the tree.

Parameters:
pPage pointer to the page
parent parent node in the tree. note that the parent must already have been added with a call to AddPage
Returns:
integer used when adding new pages as a child of this one

void CTreeSettingsDlg::SetStartPage int  iStartPage  )  [inline]
 

Parameters:
iStartPage page that will be shown initialy


The documentation for this class was generated from the following files:
Generated on Mon Oct 27 09:54:58 2003 for DScaler by doxygen 1.3.4