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