⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapview.h

📁 mapx在vc.net上的应用框架
💻 H
字号:
#pragma once
#include "mapx.h"


// CMapView 窗体视图

class CMapView : public CFormView
{
	DECLARE_DYNCREATE(CMapView)

protected:
	CMapView();           // 动态创建所使用的受保护的构造函数
	virtual ~CMapView();

public:
	enum { IDD = IDD_MAPVIEW };
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
public:
	CMapX* GetMapX(void);
protected:
	afx_msg void OnMapxzoomin();
	afx_msg void OnMapxzoomout();
	afx_msg void OnMapxpan();
	afx_msg void OnMapxselect();
	afx_msg void OnMapxrectselect();
	afx_msg void OnMapxpolygonselect();
	afx_msg void OnMapxlayers();
	afx_msg void OnMapxextent();
	afx_msg void OnMapxprevious();
	afx_msg void OnMapxarrow();

protected:
	double m_bCurrentZoom;
	double m_bCurrentCenterX;
	double m_bCurrentCenterY;
	double m_bPreviousZoom;
	double m_bPreviousCenterX;
	double m_bPreviousCenterY;
public:
	CMapX m_pMapX;

	DECLARE_MESSAGE_MAP()
public:
	DECLARE_EVENTSINK_MAP()
public:
	void MapViewChangedMapview();
public:
	afx_msg void OnPaint();
};


⌨️ 快捷键说明

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