motiondetectdiag.cpp

来自「上述是VIsualc++ 数字图像处理一书的源码」· C++ 代码 · 共 55 行

CPP
55
字号
// MotionDetectDiag.cpp : implementation file
//

#include "stdafx.h"
#include "Video Demo.h"
#include "MotionDetectDiag.h"

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

/////////////////////////////////////////////////////////////////////////////
// MotionDetectDiag dialog


MotionDetectDiag::MotionDetectDiag(CWnd* pParent /*=NULL*/)
	: CDialog(MotionDetectDiag::IDD, pParent)
{
	//{{AFX_DATA_INIT(MotionDetectDiag)
	m_index = 200;
	//}}AFX_DATA_INIT
}


void MotionDetectDiag::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(MotionDetectDiag)
	DDX_Text(pDX, IDC_EDIT1, m_index);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(MotionDetectDiag, CDialog)
	//{{AFX_MSG_MAP(MotionDetectDiag)
	ON_EN_CHANGE(IDC_EDIT1, OnChangeEdit1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// MotionDetectDiag message handlers

void MotionDetectDiag::OnChangeEdit1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

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