indlg1.cpp

来自「图像处理源代码VC」· C++ 代码 · 共 47 行

CPP
47
字号
// InDlg1.cpp : implementation file
//

#include "stdafx.h"
#include "imgproc.h"
#include "InDlg1.h"

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

/////////////////////////////////////////////////////////////////////////////
// CInDlg1 dialog


CInDlg1::CInDlg1(CWnd* pParent /*=NULL*/)
	: CDialog(CInDlg1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CInDlg1)
	m_text = _T("");
	m_value = 0.0f;
	//}}AFX_DATA_INIT
}


void CInDlg1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInDlg1)
	DDX_Text(pDX, IDC_STATIC1, m_text);
	DDX_Text(pDX, IDC_EDIT1, m_value);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CInDlg1 message handlers

⌨️ 快捷键说明

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