123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- // MyPropertyPages.h : header file
- //
- #ifndef MYPROPERTYPAGES_H
- #define MYPROPERTYPAGES_H
- /////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage1 dialog
- #include "XListCtrl.h"
- class CMyPropertyPage1 : public CPropertyPage
- {
- DECLARE_DYNCREATE(CMyPropertyPage1)
- // Construction
- public:
- CMyPropertyPage1();
- ~CMyPropertyPage1();
- // Dialog Data
- //{{AFX_DATA(CMyPropertyPage1)
- enum { IDD = IDD_PAGE1 };
- CXListCtrl m_List;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CMyPropertyPage1)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- public:
- virtual BOOL OnSetActive();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- static int m_nColWidths[];
- CStringArray m_sa1, m_sa2;
- void FillListCtrl(CXListCtrl * pList);
- void InitListCtrl(CXListCtrl * pList);
- // Generated message map functions
- //{{AFX_MSG(CMyPropertyPage1)
- virtual BOOL OnInitDialog();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- ///////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage2 dialog
- class CMyPropertyPage2 : public CPropertyPage
- {
- DECLARE_DYNCREATE(CMyPropertyPage2)
- // Construction
- public:
- CMyPropertyPage2();
- ~CMyPropertyPage2();
- // Dialog Data
- //{{AFX_DATA(CMyPropertyPage2)
- enum { IDD = IDD_PAGE2 };
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CMyPropertyPage2)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- public:
- virtual BOOL OnSetActive();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CMyPropertyPage2)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- ///////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage3 dialog
- class CMyPropertyPage3 : public CPropertyPage
- {
- DECLARE_DYNCREATE(CMyPropertyPage3)
- // Construction
- public:
- CMyPropertyPage3();
- ~CMyPropertyPage3();
- // Dialog Data
- //{{AFX_DATA(CMyPropertyPage3)
- enum { IDD = IDD_PAGE3 };
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CMyPropertyPage3)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- public:
- virtual BOOL OnSetActive();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CMyPropertyPage3)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif
|