MapXViewView.h
资源名称:MapXView.rar [点击查看]
上传用户:gulin912
上传日期:2022-08-10
资源大小:330k
文件大小:4k
源码类别:
GIS编程
开发平台:
Visual C++
- // MapXViewView.h : interface of the CMapXViewView class
- //
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INCLUDES()
- #include "mapx.h"
- //}}AFX_INCLUDES
- #if !defined(AFX_MAPXVIEWVIEW_H__AD4DFC60_9FAA_497C_8353_E6B1D9D000AC__INCLUDED_)
- #define AFX_MAPXVIEWVIEW_H__AD4DFC60_9FAA_497C_8353_E6B1D9D000AC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CMapXViewView : public CFormView
- {
- protected: // create from serialization only
- CMapXViewView();
- DECLARE_DYNCREATE(CMapXViewView)
- public:
- //{{AFX_DATA(CMapXViewView)
- enum { IDD = IDD_MAPXVIEW_FORM };
- CListBox m_ListFs;
- CComboBox m_Layers;
- CMapX m_Map;
- CString m_XY;
- CString m_strQuery;
- CMapX m_EyeMap;
- //}}AFX_DATA
- // Attributes
- public:
- CMapXViewDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMapXViewView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL bEvent;
- BOOL m_bHasMap;
- CMapXFeature m_eaglefeature;
- CMapXLayer m_PtLayer;
- CMapXLayer m_TrLayer;
- CMapXLayer m_LineLayer;
- CMapXLayer m_PolyLayer;
- double YY[2];
- double XX[2];
- int nPtNum;
- virtual ~CMapXViewView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMapXViewView)
- afx_msg void OnButton1();
- afx_msg void OnButton2();
- afx_msg void OnButton3();
- afx_msg void OnButton4();
- afx_msg void OnButton5();
- afx_msg void OnButton6();
- afx_msg void OnButton7();
- afx_msg void OnButton8();
- afx_msg void OnSelchangeCombo1();
- afx_msg void OnMouseMoveMap1(short Button, short Shift, float X, float Y);
- afx_msg void OnButton9();
- afx_msg void OnMouseDownMap1(short Button, short Shift, float X, float Y);
- afx_msg void OnButton11();
- afx_msg void OnButton10();
- afx_msg void OnToolUsedMap1(short ToolNum, double X1, double Y1, double X2, double Y2, double Distance, BOOL Shift, BOOL Ctrl, BOOL FAR* EnableDefault);
- afx_msg void OnPolyToolUsedMap1(short ToolNum, long Flags, LPDISPATCH Points, BOOL bShift, BOOL bCtrl, BOOL FAR* EnableDefault);
- afx_msg void OnButton12();
- afx_msg void OnButton13();
- afx_msg void OnButton14();
- afx_msg void OnButton15();
- afx_msg void OnButton16();
- afx_msg void OnButton17();
- afx_msg void OnButton18();
- afx_msg void OnButton19();
- afx_msg void OnButton20();
- afx_msg void OnButton21();
- afx_msg void OnMapDrawMap2(short Flag);
- afx_msg void OnMapViewChangedMap1();
- afx_msg void OnMouseDownMap2(short Button, short Shift, float X, float Y);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnButton22();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in MapXViewView.cpp
- inline CMapXViewDoc* CMapXViewView::GetDocument()
- { return (CMapXViewDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAPXVIEWVIEW_H__AD4DFC60_9FAA_497C_8353_E6B1D9D000AC__INCLUDED_)