MyPropertyPage.cpp
上传用户:raowubin
上传日期:2007-01-02
资源大小:19k
文件大小:1k
源码类别:
PropertySheet
开发平台:
Visual C++
- // MyPropertyPage.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ps_in_ps.h"
- #include "MyPropertyPage.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage property page
- IMPLEMENT_DYNCREATE(CMyPropertyPage, CPropertyPage)
- CMyPropertyPage::CMyPropertyPage() : CPropertyPage(CMyPropertyPage::IDD)
- {
- //{{AFX_DATA_INIT(CMyPropertyPage)
- m_nTestInt = 0;
- //}}AFX_DATA_INIT
- }
- CMyPropertyPage::~CMyPropertyPage()
- {
- }
- void CMyPropertyPage::DoDataExchange(CDataExchange* pDX)
- {
- CPropertyPage::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CMyPropertyPage)
- DDX_Text(pDX, IDC_EDIT1, m_nTestInt);
- DDV_MinMaxInt(pDX, m_nTestInt, 0, 99);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CMyPropertyPage, CPropertyPage)
- //{{AFX_MSG_MAP(CMyPropertyPage)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CMyPropertyPage message handlers