⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linearstretchparamdlg.cpp

📁 将数字图像处理的一般算法都集中在一个MFC的框架中
💻 CPP
字号:
// linearStretchParamDlg.cpp : implementation file
//

#include "stdafx.h"
#include "demo.h"
#include "linearStretchParamDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// linearStretchParamDlg dialog


linearStretchParamDlg::linearStretchParamDlg(CWnd* pParent /*=NULL*/)
	: CDialog(linearStretchParamDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(linearStretchParamDlg)
	m_firstPointX = 50;
	m_firstPointY = 100;
	m_secondPointX = 200;
	m_secondPointY = 150;
	//}}AFX_DATA_INIT
}


void linearStretchParamDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(linearStretchParamDlg)
	DDX_Text(pDX, IDC_EditPointFirstX, m_firstPointX);
	DDX_Text(pDX, IDC_EditPointSecondX, m_secondPointX);
	DDX_Text(pDX, IDC_EditPointSecondY, m_secondPointY);
	DDX_Text(pDX, IDC_EditPointFirstY, m_firstPointY);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(linearStretchParamDlg, CDialog)
	//{{AFX_MSG_MAP(linearStretchParamDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
	ON_EN_CHANGE(IDC_EditPointFirstX, &linearStretchParamDlg::OnEnChangeEditpointfirstx)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// linearStretchParamDlg message handlers

void linearStretchParamDlg::OnEnChangeEditpointfirstx()
{
	// TODO:  如果该控件是 RICHEDIT 控件,则它将不会
	// 发送该通知,除非重写 CDialog::OnInitDialog()
	// 函数并调用 CRichEditCtrl().SetEventMask(),
	// 同时将 ENM_CHANGE 标志“或”运算到掩码中。

	// TODO:  在此添加控件通知处理程序代码
}

⌨️ 快捷键说明

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