📄 gpstestview.h
字号:
// gpstestView.h : interface of the CGpstestView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_GPSTESTVIEW_H__32C69C25_6F71_46E7_88E5_B561FC3F7E70__INCLUDED_)
#define AFX_GPSTESTVIEW_H__32C69C25_6F71_46E7_88E5_B561FC3F7E70__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGpstestView : public CFormView
{
protected: // create from serialization only
CGpstestView();
DECLARE_DYNCREATE(CGpstestView)
public:
CString m_strReceived,sa,a[12];
void UpdateControlsFromDoc();
CString xingzao,weixing,yajiao,xuanjiao;
CString lonti,lati,highh;
int n,h;
CBrush m_Brush;
//{{AFX_DATA(CGpstestView)
enum { IDD = IDD_GPSTEST_FORM };
CString m_data;
CMSComm m_ctrlComm1;
CString m_com;
CString m_bote;
CString m_riqi;
CString m_shijian;
CString m_gaodu;
CString m_jingdu;
CString m_weidu;
CString m_dingwei;
CString m_sudu;
CString m_shuiping;
CString m_chuizhi;
CString m_weizhi;
//}}AFX_DATA
// Attributes
public:
CGpstestDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGpstestView)
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 OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
void send();
virtual ~CGpstestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGpstestView)
afx_msg void OnClearButton();
afx_msg void OnCloseButton();
afx_msg void OnStartButton();
afx_msg void OnStopButton();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnComm();
afx_msg void OnReadButton();
afx_msg void OnSaveButton();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in gpstestView.cpp
inline CGpstestDoc* CGpstestView::GetDocument()
{ return (CGpstestDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSTESTVIEW_H__32C69C25_6F71_46E7_88E5_B561FC3F7E70__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -