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

📄 pccontroldlg.h

📁 自己编写的PC机控制的单片机程序
💻 H
字号:
// PCControlDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#include "mscomm.h"

#if !defined(AFX_PCCONTROLDLG_H__1C4391FA_1943_46D6_BD2C_9B638CE0D44D__INCLUDED_)
#define AFX_PCCONTROLDLG_H__1C4391FA_1943_46D6_BD2C_9B638CE0D44D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPCControlDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPCControlDlg)
	enum { IDD = IDD_PCCONTROL_DIALOG };
	CButton	m_small;
	CButton	m_mid;
	CButton	m_large;
	int		m_Port;
	CString	m_Receive;
	CMSComm	m_Comm;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPCControlDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnStartreceive();
	afx_msg void OnStopreceive();
	afx_msg void OnSend();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnOnCommMscomm1();
	afx_msg void OnRadiolarge();
	afx_msg void OnRadiomid();
	afx_msg void OnRadiosmall();
	afx_msg void OnChangeReceivedata();
	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_PCCONTROLDLG_H__1C4391FA_1943_46D6_BD2C_9B638CE0D44D__INCLUDED_)

⌨️ 快捷键说明

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