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

📄 comtestdlg.h

📁 串口RS232与PIC16F877A单片机通信.用于控制PIC单片机产生音乐,附完整报告.
💻 H
字号:
// ComTestDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_COMTESTDLG_H__06B5691F_0818_40CB_9C17_FE681A9C9C26__INCLUDED_)
#define AFX_COMTESTDLG_H__06B5691F_0818_40CB_9C17_FE681A9C9C26__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CComTestDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CComTestDlg)
	enum { IDD = IDD_COMTEST_DIALOG };
	CButton	m_button24;
	CButton	m_button23;
	CButton	m_button22;
	CEdit	m_edit3;
	CButton	m_button21;
	CButton	m_button20;
	CButton	m_button19;
	CButton	m_button9;
	CButton	m_button18;
	CButton	m_button7;
	CButton	m_button6;
	CButton	m_button5;
	CButton	m_button4;
	CButton	m_button3;
	CButton	m_button2;
	CButton	m_button1;
	CButton	m_button0;
	CString	m_fasong;
	CString	m_jieshou;
	CMSComm	m_comport;
	CString	m_save;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON		m_hIcon;
	CByteArray	fasong_temp;
	BOOL		flag_music;
	int			flag_ele;
	// Generated message map functions
	//{{AFX_MSG(CComTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOnCommMscomm();
	afx_msg void OnButton1();
	virtual void OnOK();
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton2();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonAbout();
	afx_msg void OnButtonClr();
	afx_msg void OnButtonOpen();
	afx_msg void OnButtonWrite();
	afx_msg void OnButtonSaveEdit();
	afx_msg void OnChangeEdit3();
	afx_msg void OnButtonBBMusic();
	afx_msg void OnButtonBBRead();
	afx_msg void OnButtonBB1();
	afx_msg void OnButton20();
	afx_msg void OnButton21();
	afx_msg void OnButtonRead1();
	afx_msg void OnButtonRead2();
	afx_msg void OnButtonRead3();
	afx_msg void OnButton25();
	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_COMTESTDLG_H__06B5691F_0818_40CB_9C17_FE681A9C9C26__INCLUDED_)

⌨️ 快捷键说明

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