📄 newdialog.cpp
字号:
// newdialog.cpp : implementation file
//
#include "stdafx.h"
#include "test6.h"
#include "newdialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// newdialog dialog
newdialog::newdialog(CWnd* pParent /*=NULL*/)
: CDialog(newdialog::IDD, pParent)
{
//{{AFX_DATA_INIT(newdialog)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void newdialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(newdialog)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(newdialog, CDialog)
//{{AFX_MSG_MAP(newdialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// newdialog message handlers
void newdialog::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
int newdialog::DoModal()
{
// TODO: Add your specialized code here and/or call the base class
return CDialog::DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -