⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eagleviewview.h

📁 铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口
💻 H
字号:
// EagleViewView.h : interface of the CEagleViewView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EAGLEVIEWVIEW_H__9BD2554C_035E_4E52_A130_7A19A3569DC3__INCLUDED_)
#define AFX_EAGLEVIEWVIEW_H__9BD2554C_035E_4E52_A130_7A19A3569DC3__INCLUDED_

#include "..\..\MAPINFO\MAPX_V45\SAMPLES40\C++\CPP\MAPX.H"	// Added by ClassView
#include "DemoDialog.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define MYTOOL_DISTANCE 100

#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF")

class CEagleViewDoc;

class CEagleViewView : public CView
{
protected: // create from serialization only
	CEagleViewView();
	DECLARE_DYNCREATE(CEagleViewView)

// Attributes
public:
	CEagleViewDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEagleViewView)
	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:
	int m_Num;
	int TNum;
	CMapX m_mainmap;
	CDemoDialog m_Demo;
	BOOL m_PolyLongth;
	CPtrArray m_bArray;
	BOOL FlashOn;
	int count;
	virtual ~CEagleViewView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	BOOL m_T;
	CString m_DataPoint;
	CString m_DataPoint2;
	CString m_DataPoint1;
	CString Context;
	int RecordCount;
	int TimerID;
	_RecordsetPtr m_pRecord;
	_ConnectionPtr m_pConnect;
	
	//{{AFX_MSG(CEagleViewView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnEntireMap();
	afx_msg void OnMapToolArrow();
	afx_msg void OnZoomin();
	afx_msg void OnZoomout();
	afx_msg void OnPan();
	afx_msg void OnMapToolCenter();
	afx_msg void OnMapToolSelect();
	afx_msg void OnMapToolRadiusselect();
	afx_msg void OnMapToolRectangleselect();
	afx_msg void OnMapProperties();
	afx_msg void OnMapLayercontrol();
	afx_msg void OnInfo();
	afx_msg void OnLongthtest();
	afx_msg void OnDataMaincity();
	afx_msg void OnDataNormalcity();
	afx_msg void OnDataRout();
	afx_msg void OnDemo();
	afx_msg void OnStart();
	afx_msg void OnStop();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMapViewChangedMap();
	afx_msg BOOL OnMouseMoveInMap(short button,short shift,OLE_XPOS_PIXELS x,OLE_YPOS_PIXELS y);
	afx_msg void OnPolyToolUsedMap(short ToolNum, long Flags, LPDISPATCH Points, BOOL bShift, BOOL bCtrl, BOOL FAR* EnableDefault);
	afx_msg void OnDisplay();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in EagleViewView.cpp
inline CEagleViewDoc* CEagleViewView::GetDocument()
   { return (CEagleViewDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EAGLEVIEWVIEW_H__9BD2554C_035E_4E52_A130_7A19A3569DC3__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -