?? gpsprodlg.h
字號:
// GPSProDlg.h : header file
//
#if !defined(AFX_GPSPRODLG_H__62F798E0_7B02_4E7B_A437_22DAA48EBD95__INCLUDED_)
#define AFX_GPSPRODLG_H__62F798E0_7B02_4E7B_A437_22DAA48EBD95__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CESeries.h"
/////////////////////////////////////////////////////////////////////////////
// CGPSProDlg dialog
class CGPSProDlg : public CDialog
{
// Construction
public:
CGPSProDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGPSProDlg)
enum { IDD = IDD_GPSPRO_DIALOG };
CString m_strReceChar;
long m_id;
CTime m_time;
CString m_latitude;
CString m_longlati;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGPSProDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGPSProDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnConfig();
afx_msg void OnStop();
afx_msg void OnStart();
afx_msg void OnSave();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
BOOL SaveReceivedToFile(LPCTSTR FileName);
int PortNo,BaudRate,DataBits,StopBits,Parity;
CString PortID,PortIDs[9];
int BaudRates[8];
CString m_strReceived;
UINT_PTR m_nTimer;
private:
static void __stdcall OnSeriesRead(CWnd *pWnd, BYTE *buf, int bufLen);
CCESeries m_ceSeries; //定義串口類
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSPRODLG_H__62F798E0_7B02_4E7B_A437_22DAA48EBD95__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -