⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statuspg.cpp

📁 讲mfc的书
💻 CPP
字号:
// statuspg.cpp : implementation file
//

#include "stdafx.h"
#include "chkprop.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 = 0;
        m_pieces = 0;
        //}}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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -