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

📄 com232testdlg.h

📁 VC++与单片机通信...VC++与单片机通信...VC++与单片机通信...VC++与单片机通信
💻 H
字号:
// Com232TestDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_COM232TESTDLG_H__CA935E39_C788_40D7_A978_A06DBDA99260__INCLUDED_)
#define AFX_COM232TESTDLG_H__CA935E39_C788_40D7_A978_A06DBDA99260__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCom232TestDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CCom232TestDlg)
	enum { IDD = IDD_COM232TEST_DIALOG };
	CSliderCtrl	m_Servo;
	CSliderCtrl	m_Motor;
	CMSComm	m_comm;
	CString	m_strRXData;
	CString	m_strTXData;
	int		m_motor;
	int		m_servo;
	CString	m_motor_ascii;
	CString	m_servo_ascii;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCom232TestDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCom232TestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnChangeEditTxdata();
	afx_msg void OnComm();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnButtona();
	afx_msg void OnButtonb();
	afx_msg void OnButtonc();
	afx_msg void OnButtond();
	afx_msg void OnButtone();
	afx_msg void OnButtonf();
	afx_msg void OnButton0();
	afx_msg void OnCustomdrawSlider1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawSlider2(NMHDR* pNMHDR, LRESULT* pResult);
	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_COM232TESTDLG_H__CA935E39_C788_40D7_A978_A06DBDA99260__INCLUDED_)

⌨️ 快捷键说明

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