setupdlg.h

来自「用VC写的串口通信程序(控件方式)」· C头文件 代码 · 共 55 行

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

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

/////////////////////////////////////////////////////////////////////////////
// CSetupDlg dialog

class CSetupDlg : public CDialog
{
// Construction
public:
	CSetupDlg(CWnd* pParent = NULL);   // standard constructor
	BOOL m_bConnected;
// Dialog Data
	//{{AFX_DATA(CSetupDlg)
	enum { IDD = IDD_COMSETTINGS };
	int		m_nStopBits;
	BOOL	m_bNewLine;
	int		m_nFlowCtrl;
	BOOL	m_bEcho;
	CString	m_sDataBits;
	CString	m_sBaud;
	int		m_nParity;
	CString	m_sPort;
	BOOL	m_CheckHex;
	//}}AFX_DATA


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

// Implementation
protected:

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

⌨️ 快捷键说明

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