myserialfourdlg.h

来自「wince 4.0平台测试过的,绝对可用的多串口驱动」· C头文件 代码 · 共 62 行

H
62
字号
// mySerialFourDlg.h : header file
//
#include "Serial.h"
#if !defined(AFX_MYSERIALFOURDLG_H__AAA1F8ED_0053_4840_911F_8DB1378D441B__INCLUDED_)
#define AFX_MYSERIALFOURDLG_H__AAA1F8ED_0053_4840_911F_8DB1378D441B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMySerialFourDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMySerialFourDlg)
	enum { IDD = IDD_MYSERIALFOUR_DIALOG };
	CStatic	m_numText;
	CStatic	m_portStatus;
	CEdit	m_CReStr;
	CEdit	m_transWnd;
	CComboBox	m_comboCom;
	CString	m_ReceiveString;
	CString m_strCom;
    CSerial *ab;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMySerialFourDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtrans();
	afx_msg void OnBopen();
	afx_msg void OnBclose();
	afx_msg void OnCloseupCombo();
    afx_msg void showReceiveStr(WPARAM wParam);
	afx_msg void OnMaxtextReceive();
	afx_msg void OnMaxtextTrans();
	afx_msg void OnChangeTrans();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MYSERIALFOURDLG_H__AAA1F8ED_0053_4840_911F_8DB1378D441B__INCLUDED_)

⌨️ 快捷键说明

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