1 //////////////////////////////////////////////
\r
4 #ifndef MYPROPERTYSHEET_H
\r
5 #define MYPROPERTYSHEET_H
\r
9 class CMyPropertySheet : public CPropertySheet
\r
12 CMyPropertySheet(LPCTSTR pszCaption = NULL, CWnd* pParent = NULL);
\r
13 virtual void OnCreate();
\r
14 virtual void OnInitialUpdate();
\r
15 virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
19 class CButtonPage : public CPropertyPage
\r
22 CButtonPage(UINT nIDTemplate, LPCTSTR szTitle = NULL);
\r
23 virtual INT_PTR DialogProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
24 virtual int OnApply();
\r
25 virtual void OnCancel();
\r
26 virtual BOOL OnInitDialog();
\r
28 virtual BOOL OnQueryCancel();
\r
29 virtual int OnSetActive();
\r
30 virtual int Validate();
\r
33 class CComboPage : public CPropertyPage
\r
36 CComboPage(UINT nIDTemplate, LPCTSTR szTitle = NULL);
\r
37 virtual INT_PTR DialogProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
38 virtual BOOL OnInitDialog();
\r
39 virtual int OnSetActive();
\r
43 #endif // MYPROPERTYSHEET_H
\r