📄 dlginsert.cpp
字号:
// DlgInsert.cpp : implementation file
//
#include "stdafx.h"
#include "GenericSerializeDemo.h"
#include "DlgInsert.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgInsert dialog
CDlgInsert::CDlgInsert(CWnd* pParent /*=NULL*/)
: CDialog(CDlgInsert::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgInsert)
m_strItemText = _T("New");
m_nRadioNo = 0;
//}}AFX_DATA_INIT
}
void CDlgInsert::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgInsert)
DDX_Text(pDX, IDC_EDIT1, m_strItemText);
DDX_Radio(pDX, IDC_RADIO2, m_nRadioNo);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgInsert, CDialog)
//{{AFX_MSG_MAP(CDlgInsert)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgInsert message handlers
BOOL CDlgInsert::OnInitDialog()
{
CDialog::OnInitDialog();
GetDlgItem(IDC_EDIT1)->SetFocus();
return FALSE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -