📄 gisview.h
字号:
// GisView.h : interface of the CGisView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GISVIEW_H__7C84EBFB_D617_47B2_A99C_8C270D6EA473__INCLUDED_)
#define AFX_GISVIEW_H__7C84EBFB_D617_47B2_A99C_8C270D6EA473__INCLUDED_
#include "MiWindow.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGisView : public CView
{
protected: // create from serialization only
CGisView();
DECLARE_DYNCREATE(CGisView)
DECLARE_EVENTSINK_MAP()
// Attributes
public:
CGisDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGisView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void OnMouseUpInMap(short Button, short Shift, float X, float Y);
void ChangeEye();
void OnToolUsed(short ToolNum, double X1, double Y1, double X2,
double Y2, double Distance, BOOL Shift, BOOL Ctrl, BOOL*EnableDefault);
CMiWindow m_miWindow;
bool SetInsertionLayer();
virtual ~CGisView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
_RecordsetPtr m_rs;
CMapX m_map;
//{{AFX_MSG(CGisView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLayer();
afx_msg void OnSelect();
afx_msg void OnSpan();
afx_msg void OnZoomIn();
afx_msg void OnZoomOut();
afx_msg void OnLine();
afx_msg void OnLable();
afx_msg void OnPolyLine();
afx_msg void OnArrow();
afx_msg void OnTest();
afx_msg void OnEyes();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in GisView.cpp
inline CGisDoc* CGisView::GetDocument()
{ return (CGisDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GISVIEW_H__7C84EBFB_D617_47B2_A99C_8C270D6EA473__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -