📄 setupdlg.cpp
字号:
// SetupDlg.cpp : implementation file
//
#include "stdafx.h"
#include "EightNum.h"
#include "SetupDlg.h"
#include ".\setupdlg.h"
// CSetupDlg dialog
IMPLEMENT_DYNAMIC(CSetupDlg, CDialog)
CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
: CDialog(CSetupDlg::IDD, pParent)
, m_iInterval(500)
, m_bShow(FALSE)
{
}
CSetupDlg::~CSetupDlg()
{
}
void CSetupDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_INTERVAL, m_iInterval);
DDV_MinMaxInt(pDX, m_iInterval, 500, 2000);
DDX_Check(pDX, IDC_ISHOW, m_bShow);
}
BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
END_MESSAGE_MAP()
// CSetupDlg message handlers
//BOOL CSetupDlg::OnInitDialog()
//{
// CDialog::OnInitDialog();
//
// // TODO: Add extra initialization here
//
// return TRUE; // return TRUE unless you set the focus to a control
// // EXCEPTION: OCX Property Pages should return FALSE
//}
//void CSetupDlg::OnOK()
//{
// // TODO: Add your specialized code here and/or call the base class
// CDialog::OnOK();
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -