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

📄 mapxmobileviewerview.h

📁 mapx嵌入式插件
💻 H
字号:
// MapXMobileViewerView.h : interface of the CMapXMobileViewerView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAPXMOBILEVIEWERVIEW_H__A652C72E_C857_494D_A932_1DBAAF62887B__INCLUDED_)
#define AFX_MAPXMOBILEVIEWERVIEW_H__A652C72E_C857_494D_A932_1DBAAF62887B__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "MapX.h"

class CMapXMobileViewerView : public CView
{
protected: // create from serialization only
	CMapXMobileViewerView();
	DECLARE_DYNCREATE(CMapXMobileViewerView)

// Attributes
public:
	CMapXMobileViewerDoc* GetDocument();
	CMapX *GetMap() { return &m_ctrlMapX; }

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMapXMobileViewerView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMapXMobileViewerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CMapX m_ctrlMapX;	// the mapx object

// Generated message map functions
protected:
	//{{AFX_MSG(CMapXMobileViewerView)
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnViewLayercontrol();
	afx_msg void OnUpdateViewLayercontrol(CCmdUI* pCmdUI);
	afx_msg void OnToolPan();
	afx_msg void OnUpdateToolPan(CCmdUI* pCmdUI);
	afx_msg void OnToolZoomin();
	afx_msg void OnUpdateToolZoomin(CCmdUI* pCmdUI);
	afx_msg void OnToolZoomout();
	afx_msg void OnUpdateToolZoomout(CCmdUI* pCmdUI);
	afx_msg void OnToolSelectpoint();
	afx_msg void OnUpdateToolSelectpoint(CCmdUI* pCmdUI);
	afx_msg void OnToolSelectradius();
	afx_msg void OnUpdateToolSelectradius(CCmdUI* pCmdUI);
	afx_msg void OnToolCenter();
	afx_msg void OnUpdateToolCenter(CCmdUI* pCmdUI);
	afx_msg void OnFileOpen();
	afx_msg void OnMapViewEntireLayer();
	afx_msg void OnUpdateMapViewEntireLayer(CCmdUI* pCmdUI);
	afx_msg void OnMapZoomto();
	afx_msg void OnUpdateMapZoomto(CCmdUI* pCmdUI);
	afx_msg void OnMapCreatetemplayer();
	afx_msg void OnToolAddpoint();
	afx_msg void OnUpdateToolAddpoint(CCmdUI* pCmdUI);
	afx_msg void OnToolAddpolygon();
	afx_msg void OnUpdateToolAddpolygon(CCmdUI* pCmdUI);
	afx_msg void OnToolAddpolyline();
	afx_msg void OnUpdateToolAddpolyline(CCmdUI* pCmdUI);
	afx_msg void OnMapClosealltables();
	afx_msg void OnUpdateMapClosealltables(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMapCreatetemplayer(CCmdUI* pCmdUI);
	afx_msg void OnToolsEditoptionsNewobjectstyles();
	afx_msg void OnToolsObjecteditingFeatureeditmode();
	afx_msg void OnUpdateToolsObjecteditingFeatureeditmode(CCmdUI* pCmdUI);
	afx_msg void OnToolsObjecteditingNodemode();
	afx_msg void OnUpdateToolsObjecteditingNodemode(CCmdUI* pCmdUI);
	afx_msg void OnToolsObjecteditingSetinsertionlayer();
	afx_msg void OnUpdateToolsObjecteditingSetinsertionlayer(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsBufferselectedobjects();
	afx_msg void OnUpdateToolsSelectionsBufferselectedobjects(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsClearselection();
	afx_msg void OnUpdateToolsSelectionsClearselection(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsDeleteselectedobjects();
	afx_msg void OnUpdateToolsSelectionsDeleteselectedobjects(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsPolygonselecttool();
	afx_msg void OnUpdateToolsSelectionsPolygonselecttool(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsRectselecttool();
	afx_msg void OnUpdateToolsSelectionsRectselecttool(CCmdUI* pCmdUI);
	afx_msg void OnToolsSelectionsSetobjectstyles();
	afx_msg void OnUpdateToolsSelectionsSetobjectstyles(CCmdUI* pCmdUI);
	afx_msg void OnToolsObjecteditingAddnodemode();
	afx_msg void OnUpdateToolsObjecteditingAddnodemode(CCmdUI* pCmdUI);
	afx_msg void OnToolbarInfo();
	afx_msg void OnUpdateToolbarInfo(CCmdUI* pCmdUI);
	afx_msg void OnViewFind();
	afx_msg void OnUpdateViewFind(CCmdUI* pCmdUI);
	afx_msg void OnViewProjection();
	afx_msg void OnMapExportmap();
	afx_msg void OnToolsMoretools();
	afx_msg void OnToolsArrow();
	afx_msg void OnUpdateToolsArrow(CCmdUI* pCmdUI);
	afx_msg void OnMapCreatetheme();
	afx_msg void OnUpdateMapCreatetheme(CCmdUI* pCmdUI);
	afx_msg void OnMapModifytheme();
	afx_msg void OnOpen();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
	DECLARE_EVENTSINK_MAP()

	void OnToolUsed(short ToolNum, double X1, double Y1, double X2, double Y2, double Distance, BOOL Shift, BOOL Ctrl, VARIANT* EnableDefault);
	void OnThemeModifyRequested(LPDISPATCH Theme);
	bool MapHasSelection();

};

#ifndef _DEBUG  // debug version in MapXMobileViewerView.cpp
inline CMapXMobileViewerDoc* CMapXMobileViewerView::GetDocument()
   { return (CMapXMobileViewerDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAPXMOBILEVIEWERVIEW_H__A652C72E_C857_494D_A932_1DBAAF62887B__INCLUDED_)

⌨️ 快捷键说明

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