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

📄 commdlg.h

📁 VC源码:串口通讯 VC源码:串口通讯
💻 H
字号:
// COMMDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_COMMDLG_H__35438528_7C9B_4AFF_A529_A2DB915BEAA5__INCLUDED_)
#define AFX_COMMDLG_H__35438528_7C9B_4AFF_A529_A2DB915BEAA5__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCOMMDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CCOMMDlg)
	enum { IDD = IDD_COMM_DIALOG };
	CComboBox	m_data;
	CButton	m_stop1;
	CComboBox	m_speed1;
	CComboBox	m_com;
	CButton	m_stop;
	CButton	m_hexsend;
	CButton	m_hex;
	CComboBox	m_speed;
	CString	m_SendData;
	CString	m_ReceiveData;
	CMSComm	m_Comm;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCOMMDlg)
	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 OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnStoprecv();
	virtual void OnOK();
	afx_msg void OnComselect();
	afx_msg void OnComspeed();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnComdata();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	bool stop;
	bool stop1;


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

#endif // !defined(AFX_COMMDLG_H__35438528_7C9B_4AFF_A529_A2DB915BEAA5__INCLUDED_)

⌨️ 快捷键说明

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