📄 mapview.h
字号:
#if !defined(AFX_MAPVIEW_H__77943C72_7ED9_4F19_A98A_6D5D27CABC9E__INCLUDED_)
#define AFX_MAPVIEW_H__77943C72_7ED9_4F19_A98A_6D5D27CABC9E__INCLUDED_
#include "mapcontroldefault.h" // Added by ClassView
#include "MYDLG.h" // Added by ClassView
#include "MainFrm.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MAPVIEW.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMAPVIEW view
class CMAPVIEW : public CView
{
protected:
CMAPVIEW(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CMAPVIEW)
// Attributes
public:
// Operations
public:
CMYDLG m_Mydlg;
CMapControlDefault m_MapControl;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMAPVIEW)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
afx_msg void OnOnMouseMoveMap(long button, long shift, long X, long Y, double mapX, double mapY);
afx_msg void OnOnMouseDownMapcontrol1(long button, long shift, long X, long Y, double mapX, double mapY);
DECLARE_EVENTSINK_MAP()
// DECLARE_EVENTSINK_MAP()
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMAPVIEW();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMAPVIEW)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAPVIEW_H__77943C72_7ED9_4F19_A98A_6D5D27CABC9E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -