⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testserial0dlg.h

📁 一个好用的基于wince下的串口读写类
💻 H
字号:
// TestSerial0Dlg.h : header file
//

#if !defined(AFX_TESTSERIAL0DLG_H__03B8CDEC_3166_4608_9BD7_1EB3FD4D69E4__INCLUDED_)
#define AFX_TESTSERIAL0DLG_H__03B8CDEC_3166_4608_9BD7_1EB3FD4D69E4__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "Serial.h"

/////////////////////////////////////////////////////////////////////////////
// CTestSerial0Dlg dialog

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

// Dialog Data
	//{{AFX_DATA(CTestSerial0Dlg)
	enum { IDD = IDD_TESTSERIAL0_DIALOG };
	CButton	m_btnopen2;
	CComboBox	m_comboBandRate;
	CEdit	m_editSerial2;
	CEdit	m_editSerial1;
	CButton	m_btnopen;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	CSerial m_com1,m_com2;
//	TCHAR m_strcom1[10],m_strcom2[10];
	// Generated message map functions
	//{{AFX_MSG(CTestSerial0Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonOpen();
	afx_msg void OnReadPort(WPARAM wParam, LPARAM lParam);
	afx_msg void OnButtonOpen2();
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTSERIAL0DLG_H__03B8CDEC_3166_4608_9BD7_1EB3FD4D69E4__INCLUDED_)

⌨️ 快捷键说明

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