📄 comconfig.h
字号:
#if !defined(AFX_COMCONFIG_H__933422D7_1FC2_4D06_95B5_A461E78E06AA__INCLUDED_)
#define AFX_COMCONFIG_H__933422D7_1FC2_4D06_95B5_A461E78E06AA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ComConfig.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CComConfig dialog
class CComConfig : public CPropertyPage
{
DECLARE_DYNCREATE(CComConfig)
// Construction
public:
int m_nParity; //校验位
int m_nStopBits; //停止位
int m_nBaud;
int m_nPort;
int m_nDataBits;
CComConfig();
~CComConfig();
// Dialog Data
//{{AFX_DATA(CComConfig)
enum { IDD = IDD_DIALOG_SetComm };
CComboBox m_ctrlParity;
CComboBox m_ctrlStopBits;
CComboBox m_ctrlDataBits;
CComboBox m_ctrlBaud;
CComboBox m_ctrlPort;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CComConfig)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CComConfig)
afx_msg void OnButton1();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMCONFIG_H__933422D7_1FC2_4D06_95B5_A461E78E06AA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -