📄 commsetdlg.h
字号:
#if !defined(AFX_COMMSETDLG_H__6EEC8102_4453_4CA0_97DC_2E6562F8BEC5__INCLUDED_)
#define AFX_COMMSETDLG_H__6EEC8102_4453_4CA0_97DC_2E6562F8BEC5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CommSetDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCommSetDlg dialog
class CCommSetDlg : public CDialog
{
// Construction
public:
int m_nStopBits;
int m_nParity;
BOOL m_bConnected;
CCommSetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCommSetDlg)
enum { IDD = IDD_COMMDLG };
CComboBox m_ctrlPort;
CComboBox m_ctrlStopBits;
CComboBox m_ctrlParity;
CComboBox m_ctrlDataBits;
CComboBox m_ctrlBaud;
BOOL m_bNewLine;
BOOL m_bEcho;
CString m_sBaud;
CString m_sDataBits;
CString m_sPort;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCommSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCommSetDlg)
virtual void OnOK();
virtual BOOL OnInitDialog();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMMSETDLG_H__6EEC8102_4453_4CA0_97DC_2E6562F8BEC5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -