serialdlg.h
来自「windows CE下面的简单的串口调试工具」· C头文件 代码 · 共 72 行
H
72 行
// SerialDlg.h : header file
//
#if !defined(AFX_SERIALDLG_H__122905EF_1EC3_4EBE_9F50_E2F023E68385__INCLUDED_)
#define AFX_SERIALDLG_H__122905EF_1EC3_4EBE_9F50_E2F023E68385__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "CEComm.h"
#include "DlgShuoming.h"
/////////////////////////////////////////////////////////////////////////////
// CSerialDlg dialog
class CSerialDlg : public CDialog
{
// Construction
public:
CSerialDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSerialDlg)
enum { IDD = IDD_SERIAL_DIALOG };
CString m_send;
CString m_status;
CString m_bo;
CString m_sendnum;
BOOL m_AutoSend;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerialDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSerialDlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtnClose();
afx_msg void OnBtnSend();
afx_msg void OnBtnOpen();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnBtnCloseport();
afx_msg void OnBtnNotice();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void InitFont();
static void OnSeriesRead(CWnd* pWnd,BYTE* buf,int bufLen);
CCEComm m_com;
UINT m_baud;
UINT m_sends;
CFont m_nTitleFont;
HBRUSH brush;
CBrush m_bbbrush;
BOOL closeport;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERIALDLG_H__122905EF_1EC3_4EBE_9F50_E2F023E68385__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?