dialognewkey.cpp
来自「基于EVC环境下的注册表编辑功能的完整源代码」· C++ 代码 · 共 50 行
CPP
50 行
// 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 + =
减小字号Ctrl + -
显示快捷键?