📄 configdlg.h
字号:
#if !defined(AFX_CONFIGDLG_H__083B4681_44A9_412C_A13E_EDF65EDBBDC1__INCLUDED_)
#define AFX_CONFIGDLG_H__083B4681_44A9_412C_A13E_EDF65EDBBDC1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfigDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CConfigDlg dialog
class CConfigDlg : public CDialog
{
// Construction
public:
CConfigDlg(CWnd* pParent = NULL); // standard constructor
CConfigDlg(CWnd* pParent, DCB dcb);
// Dialog Data
//{{AFX_DATA(CConfigDlg)
enum { IDD = IDD_DIALOG3 };
CComboBox Box_Parity;
CComboBox Box_StopBits;
CComboBox Box_ByteSize;
CComboBox Box_BaudRate;
CComboBox Box_ComNumb;
CString m_ComNumb;
CString m_BaudRate;
CString m_ByteSize;
CString m_StopBits;
CString m_Parity;
BOOL m_CommBreakDetected;
BOOL m_CommCTSDetected;
BOOL m_CommDSRDetected;
BOOL m_CommERRDetected;
BOOL m_CommRingDetected;
BOOL m_CommRLSDDetected;
BOOL m_CommRXchar;
BOOL m_CommRXcharFlag;
BOOL m_CommTXEmpty;
CString m_strSendBuffer;
//}}AFX_DATA
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConfigDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
DCB m_dcb;
// Generated message map functions
//{{AFX_MSG(CConfigDlg)
virtual BOOL OnInitDialog();
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONFIGDLG_H__083B4681_44A9_412C_A13E_EDF65EDBBDC1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -