#include <WndSettingsSheet.h>
Inheritance diagram for CSettingsSheet:
Public Member Functions | |
CSettingsSheet (CWnd *pParent=NULL, UINT nCaptionID=0) | |
virtual | ~CSettingsSheet () |
void | AddPage (CSettingsPage *pPage, LPCTSTR pszCaption=NULL) |
void | AddGroup (CSettingsPage *pPage, LPCTSTR pszCaption=NULL) |
CSettingsPage * | GetPage (int nPage) const |
CSettingsPage * | GetPage (CRuntimeClass *pClass) const |
CSettingsPage * | GetPage (LPCTSTR pszClass) const |
int | GetPageIndex (CSettingsPage *pPage) const |
int | GetPageCount () const |
CSettingsPage * | GetActivePage () const |
BOOL | SetActivePage (CSettingsPage *pPage) |
BOOL | SetActivePage (int nPage) |
BOOL | IsModified () const |
void | SetModified (BOOL bChanged=TRUE) |
int | DoModal () |
Protected Member Functions | |
void | BuildTree () |
void | Layout () |
BOOL | CreatePage (CSettingsPage *pPage) |
virtual void | DoPaint (CDC &dc) |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
virtual BOOL | OnCommand (WPARAM wParam, LPARAM lParam) |
afx_msg void | OnPaint () |
virtual void | OnOK () |
virtual void | OnCancel () |
afx_msg void | OnApply () |
afx_msg void | OnTreeExpanding (NM_TREEVIEW *pNotify, LRESULT *pResult) |
afx_msg void | OnSelectPage (NM_TREEVIEW *pNotify, LRESULT *pResult) |
Protected Attributes | |
CObArray | m_pPages |
CSettingsPage * | m_pPage |
CSettingsPage * | m_pFirst |
CSize | m_szPages |
CTreeCtrl | m_wndTree |
CButton | m_wndOK |
CButton | m_wndCancel |
CButton | m_wndApply |
BOOL | m_bModified |
DLGTEMPLATE * | m_pTemplate |
CString | m_sCaption |
int | m_nLeftMargin |
int | m_nTopMargin |
int | m_nListWidth |
int | m_nListMargin |
int | m_nButtonHeight |
|
Definition at line 53 of file WndSettingsSheet.cpp. References NULL. |
|
Definition at line 68 of file WndSettingsSheet.cpp. |
|
Definition at line 87 of file WndSettingsSheet.cpp. References m_pPages. Referenced by CSettingsManagerDlg::AddGroup(), and CProfileManagerDlg::AddGroup(). |
|
Definition at line 80 of file WndSettingsSheet.cpp. References CSettingsPage::m_bGroup, m_pPages, and CSettingsPage::m_sCaption. Referenced by CSettingsManagerDlg::AddPage(), and CProfileManagerDlg::AddPage(). |
|
Definition at line 267 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), CSettingsPage::m_bGroup, m_pPage, CSettingsPage::m_sCaption, m_wndTree, and NULL. Referenced by OnInitDialog(). |
|
Definition at line 342 of file WndSettingsSheet.cpp. References m_nLeftMargin, m_nListMargin, m_nListWidth, m_nTopMargin, and m_szPages. Referenced by SetActivePage(). |
|
Reimplemented from CSkinDialog. Reimplemented in CSettingsManagerDlg. Definition at line 72 of file WndSettingsSheet.cpp. References CSkinDialog::DoDataExchange(). |
|
Definition at line 205 of file WndSettingsSheet.cpp. References m_bModified, CShareazaApp::m_bRTL, m_pFirst, m_pPage, m_pTemplate, NULL, and theApp. Referenced by CSettingsManagerDlg::DoModal(), and CProfileManagerDlg::DoModal(). |
|
Reimplemented in CProfileManagerDlg, and CSettingsManagerDlg. Definition at line 375 of file WndSettingsSheet.cpp. References m_nButtonHeight, m_nLeftMargin, m_nListMargin, m_nListWidth, m_nTopMargin, and m_szPages. Referenced by CSettingsManagerDlg::DoPaint(), CProfileManagerDlg::DoPaint(), and OnPaint(). |
|
Definition at line 133 of file WndSettingsSheet.cpp. References m_pPage. |
|
Definition at line 109 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), and NULL. |
|
Definition at line 99 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), and NULL. |
|
Definition at line 94 of file WndSettingsSheet.cpp. References m_pPages. Referenced by BuildTree(), CSettingsManagerDlg::DoModal(), CProfileManagerDlg::DoModal(), GetPage(), GetPageIndex(), Layout(), OnApply(), OnCancel(), OnInitDialog(), OnOK(), and SetActivePage(). |
|
Definition at line 128 of file WndSettingsSheet.cpp. References m_pPages. Referenced by BuildTree(), GetPage(), GetPageIndex(), Layout(), OnApply(), OnCancel(), and OnOK(). |
|
Definition at line 119 of file WndSettingsSheet.cpp. References GetPage(), and GetPageCount(). |
|
Definition at line 191 of file WndSettingsSheet.cpp. References m_bModified. |
|
Definition at line 288 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), CSettingsPage::GetTemplateName(), CShareazaApp::m_gdiFont, m_nButtonHeight, m_nLeftMargin, m_nListMargin, m_nListWidth, m_nTopMargin, m_szPages, m_wndApply, m_wndCancel, m_wndOK, m_wndTree, NULL, and theApp. Referenced by OnInitDialog(). |
|
Reimplemented in CProfileManagerDlg, and CSettingsManagerDlg. Definition at line 420 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), m_pPage, CSettingsPage::OnApply(), CSettingsPage::OnKillActive(), and SetModified(). Referenced by CSettingsManagerDlg::OnApply(), and CProfileManagerDlg::OnApply(). |
|
Definition at line 409 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), and CSettingsPage::OnCancel(). Referenced by OnCommand(). |
|
Definition at line 433 of file WndSettingsSheet.cpp. References OnCancel(), and OnOK(). |
|
Reimplemented from CSkinDialog. Reimplemented in CProfileManagerDlg, and CSettingsManagerDlg. Definition at line 239 of file WndSettingsSheet.cpp. References BuildTree(), GetPage(), IDC_SETTINGS_TREE, Layout(), CShareazaApp::m_gdiFont, m_pFirst, m_sCaption, m_wndApply, m_wndCancel, m_wndOK, m_wndTree, NULL, CSkinDialog::OnInitDialog(), SetActivePage(), and theApp. Referenced by CSettingsManagerDlg::OnInitDialog(), and CProfileManagerDlg::OnInitDialog(). |
|
Reimplemented in CProfileManagerDlg, and CSettingsManagerDlg. Definition at line 396 of file WndSettingsSheet.cpp. References GetPage(), GetPageCount(), m_pPage, CSettingsPage::OnKillActive(), and CSettingsPage::OnOK(). Referenced by OnCommand(), CSettingsManagerDlg::OnOK(), and CProfileManagerDlg::OnOK(). |
|
Definition at line 369 of file WndSettingsSheet.cpp. References DoPaint(). |
|
Definition at line 358 of file WndSettingsSheet.cpp. References m_pPage, m_wndTree, NULL, and SetActivePage(). |
|
Definition at line 353 of file WndSettingsSheet.cpp. |
|
Definition at line 186 of file WndSettingsSheet.cpp. References GetPage(), and SetActivePage(). |
|
Definition at line 138 of file WndSettingsSheet.cpp. References CreatePage(), m_pFirst, m_pPage, m_wndTree, NULL, CSettingsPage::OnKillActive(), and CSettingsPage::OnSetActive(). Referenced by CSettingsManagerDlg::DoModal(), CProfileManagerDlg::DoModal(), OnInitDialog(), OnSelectPage(), and SetActivePage(). |
|
Definition at line 196 of file WndSettingsSheet.cpp. References m_bModified. Referenced by OnApply(). |
|
Definition at line 50 of file WndSettingsSheet.h. Referenced by DoModal(), IsModified(), and SetModified(). |
|
Definition at line 58 of file WndSettingsSheet.h. |
|
Definition at line 54 of file WndSettingsSheet.h. Referenced by CreatePage(), DoPaint(), and Layout(). |
|
Definition at line 57 of file WndSettingsSheet.h. Referenced by CreatePage(), DoPaint(), and Layout(). |
|
Definition at line 56 of file WndSettingsSheet.h. Referenced by CreatePage(), DoPaint(), and Layout(). |
|
Definition at line 55 of file WndSettingsSheet.h. Referenced by CreatePage(), DoPaint(), and Layout(). |
|
Definition at line 43 of file WndSettingsSheet.h. Referenced by DoModal(), CSettingsManagerDlg::DoModal(), OnInitDialog(), and SetActivePage(). |
|
Definition at line 42 of file WndSettingsSheet.h. Referenced by BuildTree(), DoModal(), GetActivePage(), OnApply(), OnOK(), OnSelectPage(), and SetActivePage(). |
|
Definition at line 41 of file WndSettingsSheet.h. Referenced by AddGroup(), AddPage(), GetPage(), and GetPageCount(). |
|
Definition at line 52 of file WndSettingsSheet.h. Referenced by DoModal(). |
|
Definition at line 53 of file WndSettingsSheet.h. Referenced by OnInitDialog(). |
|
Definition at line 44 of file WndSettingsSheet.h. Referenced by CreatePage(), DoPaint(), and Layout(). |
|
Definition at line 49 of file WndSettingsSheet.h. Referenced by Layout(), and OnInitDialog(). |
|
Definition at line 48 of file WndSettingsSheet.h. Referenced by Layout(), and OnInitDialog(). |
|
Definition at line 47 of file WndSettingsSheet.h. Referenced by Layout(), and OnInitDialog(). |
|
Definition at line 46 of file WndSettingsSheet.h. Referenced by BuildTree(), Layout(), OnInitDialog(), OnSelectPage(), and SetActivePage(). |