comsetdlg.h
来自「VC_serial_Port_Program」· C头文件 代码 · 共 64 行
H
64 行
#if !defined(AFX_COMSETDLG_H__24690E5C_8E2F_4606_BFE4_F00E8DDC729E__INCLUDED_)
#define AFX_COMSETDLG_H__24690E5C_8E2F_4606_BFE4_F00E8DDC729E__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; //To control port valid or not in dialog
int m_nParity; //check bit
int m_nStopBits; //Stop bit
// Dialog Data
//{{AFX_DATA(CComsetDlg)
enum { IDD = IDD_DIALOG1 };
CComboBox m_ctrlStopBits;
CComboBox m_ctrlPort;
CComboBox m_ctrlParity;
CComboBox m_ctrlDataBits;
CComboBox m_ctrlBaud;
CString m_sBaud;
CString m_sDataBits;
BOOL m_bEcho;
BOOL m_bNewLine;
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 void OnOK();
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_COMSETDLG_H__24690E5C_8E2F_4606_BFE4_F00E8DDC729E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?