欢迎来到天天文库
浏览记录
ID:47896503
大小:101.00 KB
页数:12页
时间:2019-10-21
《在VC中如何用Mapx进行GIS系统的开发源码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、//GeoExpertView.h:interfaceoftheCGeoExpertViewclass///////////////////////////////////////////////////////////////////////////////#if!defined(AFXGEOEXPERTVIEWH3456F63F3DC9493F8817DAA44E0779AE_INCLUDED_)#defineAFX_GEOEXPERTVIEW_H_3456F63F_3DC9_493F_8817_DAA44E0779AE
2、_INCLUDED_#if_MSC_VER>1000#pragmaonce#endif//_MSC_VER>1000include“MapX.h”classCGeoExpertView:publicCView{protected://createfromserializationonlyCGeoExpertView();DECLARE_DYNCREATE(CGeoExpertView)//Attributespublic:CGeoExpertDoc*GetDocument();//Operationspublic://Ove
3、rrides//ClassWizardgeneratedvirtualfunctionoverrides//{{AFX_VIRTUAL(CGeoExpertView)public:virtualvoidOnDraw(CDC*pDC);//overriddentodrawthisviewvirtualBOOLPreCreateWindow(CREATESTRUCT&cs);protected:virtualBOOLOnPreparePrinting(CPrintlnfo*plnfo);virtualvoidOnBeginPri
4、nting(CDC*pDC,CPrintlnfo*plnfo);virtualvoidOnEndPrinting(CDC*pDC,CPrintlnfo*plnfo);//}}AFX_VIRTUAL//Implementationpublic:CStringm_strFilePath;CMapXm_ctrlMapX;virtual~CGeoExpertView();#ifdef_DEBUGvirtualvoidAssertValid()const;virtualvoidDump(CDumpContext&de)const;#e
5、ndifprotected://Generatedmessagemapfunctionsprotected://{{AFX_MSG(CGeoExpertView)afx_msgintOnCreate(LPCREATESTRUCTIpCreateStruct);afx_msgvoidOnSize(UINTnType,intex,intcy);afx_msgvoidOnSetFocus(CWnd*pOldWnd);afx_msgvoidOnFileOpen();afx_msgvoidOnMapToolArrow();afx_ms
6、gvoidOnMapToolZoomin();afx_msgvoidOnMapToolZoomout();afx_msgvoidOnMapToolPan();afx_msgvoidOnMapToolSelect();afx_msgvoidOnMapToolRectangleselect();afx_msgvoidOnMapToolRadiusselect();afx_msgvoidOnViewLayercontrol();afx_msgvoidOnMapToolEntire();afx_msgvoidOnUpdateMapT
7、oolZoomin(CCmdUrpCmdUI);afx_msgvoidOnUpdateMapToolZoomout(CCmdUrpCmdUI);afx_msgvoidOnUpdateMapToolPan(CCmdUrpCmdUI);afx_msgvoidOnUpdateMapToolArrow(CCmdUrpCmdUI);afx_msgvoidOnllpdateMapToolSelect(CCmdUrpCmdUI);afx_msgvoidOnUpdateMapToolRectangleselect(CCmdUrpCmdUI)
8、;afx_msgvoidOnUpdateMapToolRadiusselect(CCmdUrpCmdUI);afx_msgvoidOnMapToolCenter();afx_msgvoidOnllpdateMapToolCenter(CCmdUrpCmdUI);//}}AFX_MSGDEC
此文档下载收益归作者所有