www.pudn.com > CHECKER.zip > STATUSPG.CPP


// statuspg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "checker.h" 
#include "statuspg.h" 
 
#ifdef _DEBUG 
#undef THIS_FILE 
static char BASED_CODE THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// StatusPage property page 
 
IMPLEMENT_DYNCREATE(StatusPage, CPropertyPage) 
 
StatusPage::StatusPage(UINT title) : CPropertyPage(StatusPage::IDD,title) 
{ 
	//{{AFX_DATA_INIT(StatusPage) 
	m_kings = _T(""); 
	m_pieces = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
 
StatusPage::~StatusPage() 
{ 
} 
 
void StatusPage::DoDataExchange(CDataExchange* pDX) 
{ 
	CPropertyPage::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(StatusPage) 
	DDX_Text(pDX, IDC_KINGS, m_kings); 
	DDX_Text(pDX, IDC_PIECES, m_pieces); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(StatusPage, CPropertyPage) 
	//{{AFX_MSG_MAP(StatusPage) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
 
///////////////////////////////////////////////////////////////////////////// 
// StatusPage message handlers