📄 geozoomdlg.cpp
字号:
// GeoZoomDlg.cpp : implementation file
//
#include "stdafx.h"
#include "geotrans.h"
#include "GeoZoomDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGeoZoomDlg dialog
CGeoZoomDlg::CGeoZoomDlg(CWnd* pParent /*=NULL*/)
: CDialog(CGeoZoomDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CGeoZoomDlg)
m_XZoom = 0.0f;
m_YZoom = 0.0f;
//}}AFX_DATA_INIT
}
void CGeoZoomDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGeoZoomDlg)
// DDX_Text(pDX, IDC_EDIT_XZoom, m_XZoom);
DDV_MinMaxFloat(pDX, m_XZoom, 0.25f, 4.f);
// DDX_Text(pDX, IDC_EDIT_YZoom, m_YZoom);
DDV_MinMaxFloat(pDX, m_YZoom, 0.25f, 4.f);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGeoZoomDlg, CDialog)
//{{AFX_MSG_MAP(CGeoZoomDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGeoZoomDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -