dlgbihua.cpp
来自「VC++编程技巧典型案例解析——基础与应用」· C++ 代码 · 共 45 行
CPP
45 行
// DlgBihua.cpp : implementation file
//
#include "stdafx.h"
#include "findhz.h"
#include "DlgBihua.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgBihua dialog
CDlgBihua::CDlgBihua(CWnd* pParent /*=NULL*/)
: CDialog(CDlgBihua::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgBihua)
m_cbs = 0;
//}}AFX_DATA_INIT
}
void CDlgBihua::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgBihua)
DDX_Text(pDX, IDC_EDIT1, m_cbs);
DDV_MinMaxInt(pDX, m_cbs, 1, 36);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgBihua, CDialog)
//{{AFX_MSG_MAP(CDlgBihua)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgBihua message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?