📄 serialportdlg.h
字号:
// SerialPortDlg.h : header file
//
#if !defined(AFX_SERIALPORTDLG_H__06EEB5B3_71D3_4CD5_8216_04F9C9FDE3D1__INCLUDED_)
#define AFX_SERIALPORTDLG_H__06EEB5B3_71D3_4CD5_8216_04F9C9FDE3D1__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CSerialPortDlg dialog
class CSerialPortDlg : public CDialog
{
// Construction
public:
CSerialPortDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSerialPortDlg)
enum { IDD = IDD_SERIALPORT_DIALOG };
CButton m_ButClose;
CButton m_ButOpen;
CComboBox m_ComboStop;
CComboBox m_ComboParity;
CComboBox m_ComboPort;
CComboBox m_ComboData;
CComboBox m_ComboBaud;
CString m_strSendEdit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerialPortDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSerialPortDlg)
virtual BOOL OnInitDialog();
afx_msg void OnOpenCom();
afx_msg void OnCloseCom();
afx_msg void OnSend();
afx_msg void OnClearSend();
afx_msg void OnClearRec();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
DCB dcb; /* ﹃
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -