www.pudn.com > PropertyPage.zip > PropPage.cpp
// PropPage.cpp : implementation file
//
#include "stdafx.h"
#include "PropertyPage.h"
#include "PropPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPropPage property page
IMPLEMENT_DYNCREATE(CPropPage, CPropertyPage)
CPropPage::CPropPage() : CPropertyPage(CPropPage::IDD)
{
//{{AFX_DATA_INIT(CPropPage)
m_nsize = 0;
m_ncolor = -1;
//}}AFX_DATA_INIT
}
CPropPage::~CPropPage()
{
}
void CPropPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropPage)
DDX_Text(pDX, IDC_FONTSIZE, m_nsize);
DDX_Radio(pDX, IDC_RED, m_ncolor);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropPage, CPropertyPage)
//{{AFX_MSG_MAP(CPropPage)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropPage message handlers