numberctrl.cpp

来自「雷达资料的处理和应用」· C++ 代码 · 共 45 行

CPP
45
字号
// NumberCtrl.cpp : implementation file
//

#include "stdafx.h"
#include "FuShe.h"
#include "NumberCtrl.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CNumberCtrl dialog


CNumberCtrl::CNumberCtrl(CWnd* pParent /*=NULL*/)
	: CDialog(CNumberCtrl::IDD, pParent)
{
	//{{AFX_DATA_INIT(CNumberCtrl)
	m_nNumber = 0;
	//}}AFX_DATA_INIT
}


void CNumberCtrl::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CNumberCtrl)
	DDX_Text(pDX, IDC_EDIT1, m_nNumber);
	DDV_MinMaxInt(pDX, m_nNumber, 0, 2000);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CNumberCtrl, CDialog)
	//{{AFX_MSG_MAP(CNumberCtrl)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CNumberCtrl message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?