scommtestdlg.h

来自「串口通讯程序可以实现文件或字符的传送并可以自定义断口号」· C头文件 代码 · 共 64 行

H
64
字号
// SCommtestDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_SCOMMTESTDLG_H__562D042F_04F0_48A6_A97C_5D20BBD2CA99__INCLUDED_)
#define AFX_SCOMMTESTDLG_H__562D042F_04F0_48A6_A97C_5D20BBD2CA99__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSCommtestDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CSCommtestDlg)
	enum { IDD = IDD_SCOMMTEST_DIALOG };
	CEdit	m_ctrTXDATA;
	CMSComm	m_ctrlComm;
	CString	m_strRXDATA;
	CString	m_strTXDATA;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSCommtestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnComm();
	afx_msg void OnButtonManualsend();
	afx_msg void OnButton1();
	afx_msg void Onselectfile();
	afx_msg void OnButton3();
	afx_msg void OnButton2();
	afx_msg void Onsave();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SCOMMTESTDLG_H__562D042F_04F0_48A6_A97C_5D20BBD2CA99__INCLUDED_)

⌨️ 快捷键说明

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