📄 whichtypedlg.cpp
字号:
// WhichTypeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "LandSoft.h"
#include "WhichTypeDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CWhichTypeDlg dialog
CWhichTypeDlg::CWhichTypeDlg(CWnd* pParent,CString types,BYTE typenum)
: CDialog(CWhichTypeDlg::IDD, pParent)
{
m_nTypeNum=typenum;
//{{AFX_DATA_INIT(CWhichTypeDlg)
m_strTypes = types;
m_nWhichType = 1;
//}}AFX_DATA_INIT
}
void CWhichTypeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CWhichTypeDlg)
DDX_Text(pDX, IDC_EDIT_TYPES, m_strTypes);
DDX_Text(pDX, IDC_EDIT_WHICHTYPE, m_nWhichType);
DDV_MinMaxByte(pDX, m_nWhichType, 1, m_nTypeNum);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CWhichTypeDlg, CDialog)
//{{AFX_MSG_MAP(CWhichTypeDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CWhichTypeDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -