dlggeorota.cpp

来自「此程序是《Visual C++数字图像处理(第二版)》人民邮电出版社的所有书内程」· C++ 代码 · 共 56 行

CPP
56
字号
// DlgGeoRota.cpp : implementation file
//

#include "stdafx.h"
#include "ch1_1.h"
#include "DlgGeoRota.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgGeoRota dialog


CDlgGeoRota::CDlgGeoRota(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgGeoRota::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgGeoRota)
	m_iRotateAngle = 0;
	//}}AFX_DATA_INIT
}


void CDlgGeoRota::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgGeoRota)
	DDX_Text(pDX, IDC_EDIT_Rotate, m_iRotateAngle);
	DDV_MinMaxInt(pDX, m_iRotateAngle, 0, 360);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgGeoRota, CDialog)
	//{{AFX_MSG_MAP(CDlgGeoRota)
	ON_EN_CHANGE(IDC_EDIT_Rotate, OnChangeEDITRotate)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgGeoRota message handlers

void CDlgGeoRota::OnChangeEDITRotate() 
{
	// 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 + -
显示快捷键?