dlgcomsettings.h

来自「一个操纵RS232端口的程序」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_DLGCOMSETTINGS_H__A17878DC_F4B6_40EE_B1B5_816866B9746A__INCLUDED_)
#define AFX_DLGCOMSETTINGS_H__A17878DC_F4B6_40EE_B1B5_816866B9746A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDlgComSettings dialog

class CDlgComSettings : public CDialog
{
// Construction
public:
	CDlgComSettings(CWnd* pParent = NULL);   // standard constructor
	BOOL m_bConnected;

// Dialog Data
	//{{AFX_DATA(CDlgComSettings)
	enum { IDD = IDD_COMSETTINGS };
	CString	m_strBaud;
	CString	m_strDataBits;
	BOOL	m_bEcho;
	int		m_iFlowCtrl;
	BOOL	m_bNewLine;
	CString	m_strParity;
	CString	m_strPort;
	CString	m_strStopBits;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgComSettings)
	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_DLGCOMSETTINGS_H__A17878DC_F4B6_40EE_B1B5_816866B9746A__INCLUDED_)

⌨️ 快捷键说明

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