ontrastdlg.cpp
来自「图像处理算法相关VC程序 VC++图像处理程序设计配套光盘」· C++ 代码 · 共 45 行
CPP
45 行
// ontrastDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DSplit.h"
#include "ontrastDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ContrastDlg dialog
ContrastDlg::ContrastDlg(CWnd* pParent /*=NULL*/)
: CDialog(ContrastDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(ContrastDlg)
m_Increment = 0;
//}}AFX_DATA_INIT
}
void ContrastDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ContrastDlg)
DDX_Text(pDX, IDC_EDITContrast, m_Increment);
DDV_MinMaxInt(pDX, m_Increment, -127, 128);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ContrastDlg, CDialog)
//{{AFX_MSG_MAP(ContrastDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ContrastDlg message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?