// 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