📄 mo20view.h
字号:
// MO20View.h : interface of the CMO20View class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "map.h"
#include "morecordset.h" // Added by ClassView
//}}AFX_INCLUDES
#if !defined(AFX_MO20VIEW_H__92D31675_8209_4EAD_A6CD_3218FAEF58D9__INCLUDED_)
#define AFX_MO20VIEW_H__92D31675_8209_4EAD_A6CD_3218FAEF58D9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMO20View : public CFormView
{
protected: // create from serialization only
CMO20View();
DECLARE_DYNCREATE(CMO20View)
public:
//{{AFX_DATA(CMO20View)
enum { IDD = IDD_MO20_FORM };
CMap1 m_map;
CMap1 m_map1;
//}}AFX_DATA
// Attributes
public:
CMO20Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMO20View)
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:
CPoint m_oldTopLeft;
long m_oldX;
long m_oldY;
bool m_mouseIsDragging;
long m_curTool;
void mapsearch();
CMoRecordset m_selection;
int f5;
void OnMapSearch();
//Void OnMapSearch();
int f4;
int f3;
int f2;
int f1;
virtual ~CMO20View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMO20View)
afx_msg void OnButton32771();
afx_msg void OnButton32772();
afx_msg void OnButton32773();
afx_msg void OnButton32774();
afx_msg void OnLabel();
afx_msg void OnMouseDownMap1(short Button, short Shift, long X, long Y);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBeforeLayerDrawMap1(short index, long hDC);
afx_msg void OnButton32776();
afx_msg void OnAfterTrackingLayerDrawMap1(long hDC);
afx_msg void OnMouseDownMap2(short Button, short Shift, long X, long Y);
afx_msg void OnMouseMoveMap2(short Button, short Shift, long X, long Y);
afx_msg void OnBnDown();
afx_msg void OnBnLeft();
afx_msg void OnBnRight();
afx_msg void OnBnUp();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MO20View.cpp
inline CMO20Doc* CMO20View::GetDocument()
{ return (CMO20Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MO20VIEW_H__92D31675_8209_4EAD_A6CD_3218FAEF58D9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -