// WarningPage.cpp : implementation file // #include "stdafx.h" #include "DFE32.h" #include "WarningPage.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CWarningPage property page IMPLEMENT_DYNCREATE(CWarningPage, CPropertyPage) CWarningPage::CWarningPage() : CPropertyPage(CWarningPage::IDD) { //{{AFX_DATA_INIT(CWarningPage) m_Warning = -1; //}}AFX_DATA_INIT } CWarningPage::~CWarningPage() { } void CWarningPage::DoDataExchange(CDataExchange* pDX) { CPropertyPage::DoDataExchange(pDX); //{{AFX_DATA_MAP(CWarningPage) DDX_Radio(pDX, IDC_WARNING_RADIO, m_Warning); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CWarningPage, CPropertyPage) //{{AFX_MSG_MAP(CWarningPage) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CWarningPage message handlers void CWarningPage::OnOK() { // TODO: Add your specialized code here and/or call the base class UpdateData(TRUE); CPropertyPage::OnOK(); }