📄 delectdialog.cpp
字号:
// DelectDialog.cpp : implementation file
//
#include "stdafx.h"
#include "lhwy.h"
#include "DelectDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDelectDialog dialog
CDelectDialog::CDelectDialog(CWnd* pParent /*=NULL*/)
: CDialog(CDelectDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CDelectDialog)
m_nPass = 0;
m_nxue = 0;
//}}AFX_DATA_INIT
}
void CDelectDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDelectDialog)
DDX_Control(pDX, IDOK, m_OkButton);
DDX_Control(pDX, IDCANCEL, m_CancelButton);
DDX_Text(pDX, IDC_PASS, m_nPass);
DDX_Text(pDX, IDC_XUEHAO, m_nxue);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDelectDialog, CDialog)
//{{AFX_MSG_MAP(CDelectDialog)
ON_EN_CHANGE(IDC_PASS, OnChangePass)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDelectDialog message handlers
void CDelectDialog::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
void CDelectDialog::OnChangePass()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -