xyoptiondlg.cpp

来自「这是在wince下面可以跑的一个画函数的软件」· C++ 代码 · 共 70 行

CPP
70
字号
//
//	Graphite For WinCE(Pocket PC)
//  Initially Written By Hyouck "Hawk" Kim, peakhunt@yahoo.com
//	2002, All Rights Reserved
//
//	This is GPLed, open source based, software development project.
//	For more question about GPL,
//	visit http://www.gnu.org/licenses/gpl.txt
//
//	
//	Revision History
//	Nov/30/2002,		Initial Release		hkim	
//
//

// XYOptionDlg.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "XYOptionDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CXYOptionDlg dialog


CXYOptionDlg::CXYOptionDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CXYOptionDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CXYOptionDlg)
	m_delta_x = 0.0;
	m_max_x = 0.0;
	m_max_y = 0.0;
	m_min_x = 0.0;
	m_min_y = 0.0;
	m_scroll_x = 0.0;
	m_scroll_y = 0.0;
	//}}AFX_DATA_INIT
}


void CXYOptionDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CXYOptionDlg)
	DDX_Text(pDX, IDC_DELTA_X, m_delta_x);
	DDX_Text(pDX, IDC_MAX_X, m_max_x);
	DDX_Text(pDX, IDC_MAX_Y, m_max_y);
	DDX_Text(pDX, IDC_MIN_X, m_min_x);
	DDX_Text(pDX, IDC_MIN_Y, m_min_y);
	DDX_Text(pDX, IDC_SCROLL_X, m_scroll_x);
	DDX_Text(pDX, IDC_SCROLL_Y, m_scroll_y);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CXYOptionDlg message handlers

⌨️ 快捷键说明

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