📄 testview.h
字号:
// TestView.h : interface of the CTestView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "cmapx.h"
//}}AFX_INCLUDES
#if !defined(AFX_TESTVIEW_H__44524283_1A05_454D_89F8_C582825244C5__INCLUDED_)
#define AFX_TESTVIEW_H__44524283_1A05_454D_89F8_C582825244C5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTestView : public CFormView
{
protected: // create from serialization only
CTestView();
DECLARE_DYNCREATE(CTestView)
public:
//{{AFX_DATA(CTestView)
enum { IDD = IDD_TEST_FORM };
CComboBox m_State;
CMapX m_Map;
CString m_StrXY;
//}}AFX_DATA
// Attributes
public:
CTestDoc* GetDocument();
// Operations
public:
int m_SearchCon;
CString m_strFindState;
CMapXLayers layers;
CMapXLayer layer;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestView)
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);
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTestView)
afx_msg void OnZoomin();
afx_msg void OnZoomout();
afx_msg void OnBrowse();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnMouseMoveMap1(short Button, short Shift, float X, float Y);
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 OnButton5();
afx_msg void OnSelchangeCombo1();
afx_msg void OnSize(UINT nType, int cx, int cy);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in TestView.cpp
inline CTestDoc* CTestView::GetDocument()
{ return (CTestDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTVIEW_H__44524283_1A05_454D_89F8_C582825244C5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -