📄 portsetting.h
字号:
#if !defined(AFX_PORTSETTING_H__76081CA1_C0D7_49AB_AA52_6578533F5EEE__INCLUDED_)
#define AFX_PORTSETTING_H__76081CA1_C0D7_49AB_AA52_6578533F5EEE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PortSetting.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPortSetting dialog
class CPortSetting : public CDialog
{
// Construction
public:
CPortSetting(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPortSetting)
enum { IDD = IDD_PORT_SETTING_DIALOG };
CComboBox m_StopBits;
CComboBox m_Parity;
CComboBox m_DataBits;
CComboBox m_Baud;
CComboBox m_Port;
//}}AFX_DATA
int m_nPort;
int m_nBaud;
int m_nParity;
int m_nStopBits;
int m_nDataBits;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPortSetting)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPortSetting)
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_PORTSETTING_H__76081CA1_C0D7_49AB_AA52_6578533F5EEE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -