dlgseriessteup.h

来自「EMBEDDED VC++4.0 对WINDOWS CE下的串口通信进行实验.将」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_DLGSERIESSTEUP_H__9B093B66_7DD7_42FF_808F_4C5374811BF1__INCLUDED_)
#define AFX_DLGSERIESSTEUP_H__9B093B66_7DD7_42FF_808F_4C5374811BF1__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// DlgSeriesSteup dialog

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

// Dialog Data
	//{{AFX_DATA(DlgSeriesSteup)
	enum { IDD = IDD_DIALOG_SETUPSERIES };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DlgSeriesSteup)
	afx_msg void OnBtnopen();
	afx_msg void OnBtnclose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	UINT m_portNo; /*串口号*/
	UINT m_baud;	/*波特率*/
	UINT m_parity; /*奇偶校验*/
	UINT m_databits;/*数据位*/
	UINT m_stopbits;/*停止位*/
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGSERIESSTEUP_H__9B093B66_7DD7_42FF_808F_4C5374811BF1__INCLUDED_)

⌨️ 快捷键说明

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