PAGE2.H
上传用户:sanlisteel
上传日期:2008-06-19
资源大小:98k
文件大小:1k
- #if !defined(AFX_PAGE2_H__FBFA105E_4BD2_403F_935C_6C2AD67F0030__INCLUDED_)
- #define AFX_PAGE2_H__FBFA105E_4BD2_403F_935C_6C2AD67F0030__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Page2.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CPage2 dialog
- class CPage2 : public CPropertyPage
- {
- DECLARE_DYNCREATE(CPage2)
- // Construction
- public:
-
- CRecordset* m_pSet;
- CDatabase* m_database;
- CBrush m_brush;
- CPage2();
- ~CPage2();
- // Dialog Data
- //{{AFX_DATA(CPage2)
- enum { IDD = IDD_LIST_DIALOG };
- CListCtrl m_listctrl;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CPage2)
- public:
- virtual BOOL OnSetActive();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPage2)
- virtual BOOL OnInitDialog();
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void AddDataIntoCtrl();
- void EmptyListCtrl();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PAGE2_H__FBFA105E_4BD2_403F_935C_6C2AD67F0030__INCLUDED_)