📄 thisparam.cpp
字号:
// thisparam.cpp : implementation file
//
#include "stdafx.h"
#include "ViewCDib.h"
#include "thisparam.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// thisparam dialog
thisparam::thisparam(CWnd* pParent /*=NULL*/)
: CDialog(thisparam::IDD, pParent)
{
//{{AFX_DATA_INIT(thisparam)
m_thisparam = 10;
m_thisparamnew = 2.0;
//}}AFX_DATA_INIT
}
void thisparam::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(thisparam)
DDX_Text(pDX, IDC_EDIT1, m_thisparam);
DDV_MinMaxUInt(pDX, m_thisparam, 1, 255);
DDX_Text(pDX, IDC_EDIT2, m_thisparamnew);
DDV_MinMaxDouble(pDX, m_thisparamnew, 0., 255.);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(thisparam, CDialog)
//{{AFX_MSG_MAP(thisparam)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// thisparam message handlers
void thisparam::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
void thisparam::OnCancel()
{
// TODO: Add extra cleanup here
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -