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