actdlg.cpp
来自「讲mfc的书」· C++ 代码 · 共 50 行
CPP
50 行
// actdlg.cpp : implementation file
//
#include "stdafx.h"
#include "checker.h"
#include "actdlg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ActionDialog dialog
ActionDialog::ActionDialog(CWnd* pParent /*=NULL*/)
: CDialog(ActionDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(ActionDialog)
m_movenum = 0;
m_action = -1;
//}}AFX_DATA_INIT
}
void ActionDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ActionDialog)
DDX_Text(pDX, IDC_MOVENUM, m_movenum);
DDX_Radio(pDX, IDC_ACTREMOVE, m_action);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ActionDialog, CDialog)
//{{AFX_MSG_MAP(ActionDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ActionDialog message handlers
void ActionDialog::OnOK()
{
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?