statuspg.cpp
来自「讲mfc的书」· C++ 代码 · 共 50 行
CPP
50 行
// 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?