📄 setport.h
字号:
#if !defined(AFX_SETPORT_H__2BF92050_D625_11D7_82C9_0000E8D3D16F__INCLUDED_)
#define AFX_SETPORT_H__2BF92050_D625_11D7_82C9_0000E8D3D16F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Setport.h : header file
//// CSetport dialog
#include "Afxcoll.h"
#include "comm.h"
typedef SERIAL_SETTINGS CUR_SETS;
class CSetport : public CDialog
{
// Construction
public:
DWORD cf10(int m);
DWORD stringTOval(CString str);
void SaveSettings();
CSetport(CWnd* pParent = NULL); // standard constructor
CSetport(CWnd* pParent , CUR_SETS* portDCb);
// Dialog Data
//{{AFX_DATA(CSetport)
enum { IDD = IDD_DIALOG1 };
CComboBox m_port;
CUR_SETS Port_settings; // 当前的串口设置;
int m_portID; //当前使用的串口;
CString Val;
CStringArray Caption;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetport)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
// DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetport)
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_SETPORT_H__2BF92050_D625_11D7_82C9_0000E8D3D16F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -