📄 gpsmanagerview.h
字号:
// GPSManagerView.h : interface of the CGPSManagerView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GPSMANAGERVIEW_H__1B880A76_5CF9_4ADD_8ACD_1B9CD904442D__INCLUDED_)
#define AFX_GPSMANAGERVIEW_H__1B880A76_5CF9_4ADD_8ACD_1B9CD904442D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GPS.h"
class CGPS;
class CGPSManagerView : public CFormView
{
public: // create from serialization only
CGPSManagerView();
DECLARE_DYNCREATE(CGPSManagerView)
public:
//{{AFX_DATA(CGPSManagerView)
enum { IDD = IDD_GPSMANAGER_FORM };
CComboBox m_ctrlPort;
double m_dAlt;
BOOL m_bGetData;
CString m_sTime;
CString m_sLat;
CString m_sLon;
//}}AFX_DATA
// Attributes
public:
CGPSManagerDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGPSManagerView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
CGPS m_clsGPS;
int m_nPort;
virtual ~CGPSManagerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGPSManagerView)
afx_msg void OnSelchangePort();
afx_msg void OnGetdata();
afx_msg void OnShowGPSData();
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in GPSManagerView.cpp
inline CGPSManagerDoc* CGPSManagerView::GetDocument()
{ return (CGPSManagerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSMANAGERVIEW_H__1B880A76_5CF9_4ADD_8ACD_1B9CD904442D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -