configcomm.h

来自「windows环境下的串口调试工具。具有配置串口,自动接受,手动发送数据的功能.」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_CONFIGCOMM_H__B0C87037_C17E_46F3_AE2C_3BCDB4D80235__INCLUDED_)
#define AFX_CONFIGCOMM_H__B0C87037_C17E_46F3_AE2C_3BCDB4D80235__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfigComm.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConfigComm dialog

class CConfigComm : public CDialog
{
// Construction
public:

	int m_nBaudRate;
	int m_nParity;
	int m_nStopBit;
	int m_nDataBits;
	int m_nPort;
	CConfigComm(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConfigComm)
	enum { IDD = IDD_DIALOG_CONFIGCOMM };
	CComboBox	m_Combo_StopBit;
	CComboBox	m_Combo_Port;
	CComboBox	m_Combo_Parity;
	CComboBox	m_Combo_DataBits;
	CComboBox	m_Combo_BaudRate;
	int		m_bSend;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfigComm)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfigComm)
	virtual void OnOK();
	virtual void OnCancel();
	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_CONFIGCOMM_H__B0C87037_C17E_46F3_AE2C_3BCDB4D80235__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?