MoLectureView.h
资源名称:MoLecture.rar [点击查看]
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:4k
源码类别:
GIS编程
开发平台:
Visual C++
- // MoLectureView.h : interface of the CMoLectureView class
- //
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INCLUDES()
- #include "map.h"
- #include "EyeDlg.h" // Added by ClassView
- //}}AFX_INCLUDES
- #if !defined(AFX_MOLECTUREVIEW_H__70A375FB_FD93_4915_97A9_2DF46F041817__INCLUDED_)
- #define AFX_MOLECTUREVIEW_H__70A375FB_FD93_4915_97A9_2DF46F041817__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- //对象组
- class CMoPolyArray : public CTypedPtrArray<CPtrArray, CMoPolygon*> {};
- class CMoLineArray : public CTypedPtrArray<CPtrArray, CMoLine*> {};
- class CMoPointArray : public CTypedPtrArray<CPtrArray, CMoPoint*> {};
- class CMoRectangleArray : public CTypedPtrArray<CPtrArray, CMoRectangle*> {};
- class CMoEllipseArray : public CTypedPtrArray<CPtrArray, CMoEllipse*> {};
- class CMoLectureView : public CFormView
- {
- protected: // create from serialization only
- CMoLectureView();
- DECLARE_DYNCREATE(CMoLectureView)
- public:
- //{{AFX_DATA(CMoLectureView)
- enum { IDD = IDD_MOLECTURE_FORM };
- CListBox m_ListAttribute;
- CMap1 m_Map;
- double m_X;
- double m_Y;
- CString m_strQuery;
- //}}AFX_DATA
- // Attributes
- public:
- // CMoLectureDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMoLectureView)
- 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:
- //鹰眼对话框
- CEyeDlg *pEyeDlg;
- CMoPointArray m_points; // Points to be saved.
- CMoLineArray m_lines;
- CMoPolyArray m_polys;
- int m_ToolNum;
- virtual ~CMoLectureView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMoLectureView)
- 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 OnButton9();
- afx_msg void OnMouseDownMap1(short Button, short Shift, long X, long Y);
- afx_msg void OnMouseMoveMap1(short Button, short Shift, long X, long Y);
- afx_msg void OnButton10();
- afx_msg void OnButton11();
- afx_msg void OnButton1();
- afx_msg void OnButton12();
- afx_msg void OnButton13();
- afx_msg void OnButton14();
- afx_msg void OnAfterTrackingLayerDrawMap1(long hDC);
- 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 OnButton22();
- afx_msg void OnButton23();
- afx_msg void OnButton24();
- afx_msg void OnButton25();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in MoLectureView.cpp
- inline CMoLectureDoc* CMoLectureView::GetDocument()
- { return (CMoLectureDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MOLECTUREVIEW_H__70A375FB_FD93_4915_97A9_2DF46F041817__INCLUDED_)