?? serialportconfig.h
字號:
#if !defined(AFX_SERIALPORTCONFIG_H__F09D2E88_3FBB_46C3_989E_F12BE4483EE8__INCLUDED_)
#define AFX_SERIALPORTCONFIG_H__F09D2E88_3FBB_46C3_989E_F12BE4483EE8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SerialPortConfig.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSerialPortConfig dialog
class CSerialPortConfig : public CDialog
{
// Construction
public:
CSerialPortConfig(CWnd* pParent = NULL); // standard constructor
int m_nBaud; //波特率
int m_nCom; //串口號
char m_cParity; //校驗
int m_nDatabits; //數據位
int m_nStopbits; //停止位
int m_nBufferSize; //緩沖區
BOOL m_bClosePort;
// Dialog Data
//{{AFX_DATA(CSerialPortConfig)
enum { IDD = IDD_DIALOG_SERIAL_PORT };
// NOTE: the ClassWizard will add data members here
CComboBox m_StopBits;
CComboBox m_Speed;
CComboBox m_DataBits;
CComboBox m_Com;
CComboBox m_Parity;
CComboBox m_Buffer;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerialPortConfig)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSerialPortConfig)
virtual void OnOK();
virtual BOOL OnInitDialog();
virtual void OnCancel();
afx_msg void OnBtnClosePort( );
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERIALPORTCONFIG_H__F09D2E88_3FBB_46C3_989E_F12BE4483EE8__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -