📄 setdlg.cpp
字号:
// SetDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DStar.h"
#include "SetDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog
CSetDlg::CSetDlg(CWnd* pParent /*=NULL*/)
: CDialog(CSetDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetDlg)
m_ColNum = 20;
m_RowNum = 20;
m_xPt = 19;
m_yPt = 19;
//}}AFX_DATA_INIT
}
void CSetDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetDlg)
DDX_Text(pDX, IDC_COLNUM, m_ColNum);
DDV_MinMaxInt(pDX, m_ColNum, 10, 400);
DDX_Text(pDX, IDC_ROWNUM, m_RowNum);
DDV_MinMaxInt(pDX, m_RowNum, 10, 400);
DDX_Text(pDX, IDC_XPT, m_xPt);
DDV_MinMaxInt(pDX, m_xPt, 1, m_ColNum - 1);
DDX_Text(pDX, IDC_YPT, m_yPt);
DDV_MinMaxInt(pDX, m_yPt, 1, m_RowNum - 1);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetDlg, CDialog)
//{{AFX_MSG_MAP(CSetDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -