PhonePage.h
上传用户:cuijiu615
上传日期:2007-03-28
资源大小:45k
文件大小:2k
- #if !defined(AFX_PHONEPAGE_H__E7107028_88FB_40DF_9FA9_1590C0B5C2EA__INCLUDED_)
- #define AFX_PHONEPAGE_H__E7107028_88FB_40DF_9FA9_1590C0B5C2EA__INCLUDED_
- #include "DteailDlg.h" // Added by ClassView
- #include "XPButton.h"
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PhonePage.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // PhonePage dialog
- class PhonePage : public CPropertyPage
- {
- DECLARE_DYNCREATE(PhonePage)
- // Construction
- public:
- int nAllPage;
- PhonePage();
- ~PhonePage();
- // Dialog Data
- //{{AFX_DATA(PhonePage)
- enum { IDD = IDD_PHONEBOOK1 };
- CXPButton m_about;
- CXPButton m_find;
- CXPButton m_pre;
- CXPButton m_next;
- CXPButton m_last;
- CXPButton m_first;
- CXPButton m_edit;
- CXPButton m_del;
- CXPButton m_add;
- CString m_showpage;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(PhonePage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(PhonePage)
- virtual BOOL OnInitDialog();
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- afx_msg void OnFirst();
- afx_msg void OnPreview();
- afx_msg void OnNext();
- afx_msg void OnLast();
- afx_msg void OnAdd();
- afx_msg void OnEdit();
- afx_msg void OnDel();
- afx_msg void OnButtonFind();
- afx_msg void OnButtonAbout();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- bool AddClicked;
- bool EditClicked;
- int nCurrentPage;
- CBrush m_brush;
- HWND Dlghand;
- DteailDlg Childdlg;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PHONEPAGE_H__E7107028_88FB_40DF_9FA9_1590C0B5C2EA__INCLUDED_)