📄 indialog.cpp
字号:
// indialog.cpp : implementation file
//
#include "stdafx.h"
#include "face.h"
#include "indialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Cindialog dialog
Cindialog::Cindialog(CWnd* pParent /*=NULL*/)
: CDialog(Cindialog::IDD, pParent)
{
//{{AFX_DATA_INIT(Cindialog)
m_input = _T("");
//}}AFX_DATA_INIT
}
void Cindialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Cindialog)
DDX_Text(pDX, IDC_INPUT, m_input);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Cindialog, CDialog)
//{{AFX_MSG_MAP(Cindialog)
ON_BN_CLICKED(IDC_OK, OnOk)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Cindialog message handlers
void Cindialog::OnOk()
{
UpdateData(TRUE);
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -