📄 mypropertypage1.h
字号:
// MyPropertyPage1.h : header file
//
#ifndef __MYPROPERTYPAGE1_H__
#define __MYPROPERTYPAGE1_H__
/////////////////////////////////////////////////////////////////////////////
// CMyPropertyPage1 dialog
class CMyPropertyPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CMyPropertyPage1)
// Construction
public:
CFont fontText;
CMyPropertyPage1();
~CMyPropertyPage1();
// Dialog Data
//{{AFX_DATA(CMyPropertyPage1)
enum { IDD = IDD_PROPPAGE1 };
CListBox m_Unit;
CString m_Name;
CString m_Address;
CString m_Email;
CString m_Phone;
CString m_UnitValue;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyPage1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyPropertyPage1)
afx_msg void OnPropertyDialog();
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CMyPropertyPage2 dialog
class CMyPropertyPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CMyPropertyPage2)
// Construction
public:
int m_Index;
CMyPropertyPage2();
~CMyPropertyPage2();
// Dialog Data
//{{AFX_DATA(CMyPropertyPage2)
enum { IDD = IDD_PROPPAGE2 };
CListBox m_NAME_LIST;
CString m_NAME_EDIT;
CString m_UNIT_EDIT;
CString m_ADDRESS_EDIT;
CString m_PHONE_EDIT;
CString m_EMAIL_EDIT;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyPage2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyPropertyPage2)
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnSelchangeList1();
//}}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_PROPPAGE3 };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyPage3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyPropertyPage3)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // __MYPROPERTYPAGE1_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -