📄 dlgsetcom.h
字号:
#if !defined(AFX_DLGSETCOM_H__96857BB3_AE17_4DF9_9736_3A52A3597555__INCLUDED_)
#define AFX_DLGSETCOM_H__96857BB3_AE17_4DF9_9736_3A52A3597555__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgSetCom.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgSetCom dialog
class CDlgSetCom : public CDialog
{
// Construction
public:
CDlgSetCom(int ncom,UINT nbps,CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgSetCom)
enum { IDD = IDD_SETCOM };
CComboBox m_cmbBPS;
int m_iBPS;
int m_iCOM;
int m_iParity;
int m_iStopBits;
CString m_szByteSize;
//}}AFX_DATA
UINT m_nbps;
int m_ncom;
int m_nbytesize;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgSetCom)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgSetCom)
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
extern BYTE _PARITY[8];
extern BYTE _STOPBITS[4];
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGSETCOM_H__96857BB3_AE17_4DF9_9736_3A52A3597555__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -