portsetting.h
来自「该程序用MFC实现串口通信」· C头文件 代码 · 共 57 行
H
57 行
#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 + =
减小字号Ctrl + -
显示快捷键?