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

📄 sounddlg.h

📁 这是一个控制程序
💻 H
字号:
// soundDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_SOUNDDLG_H__B585D766_8796_11D6_86CD_0000E8E7C91D__INCLUDED_)
#define AFX_SOUNDDLG_H__B585D766_8796_11D6_86CD_0000E8E7C91D__INCLUDED_

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



/////////////////////////////////////////////////////////////////////////////
// CSoundDlg dialog

class CSoundDlg : public CDialog
{
// Construction
public:
	void ClearFont();
	void Transmitt();
	CSoundDlg(CWnd* pParent = NULL);	// standard constructor

// int Grade[64];

// Dialog Data
	//{{AFX_DATA(CSoundDlg)
	enum { IDD = IDD_SOUND_DIALOG };
	CButton	m_H8;
	CButton	m_H7;
	CButton	m_H6;
	CButton	m_H5;
	CButton	m_H4;
	CButton	m_H3;
	CButton	m_H2;
	CButton	m_H1;
	CButton	m_G8;
	CButton	m_G7;
	CButton	m_G6;
	CButton	m_G5;
	CButton	m_G4;
	CButton	m_G3;
	CButton	m_G2;
	CButton	m_G1;
	CButton	m_F8;
	CButton	m_F7;
	CButton	m_F6;
	CButton	m_F5;
	CButton	m_F4;
	CButton	m_F3;
	CButton	m_F2;
	CButton	m_F1;
	CButton	m_E8;
	CButton	m_E7;
	CButton	m_E6;
	CButton	m_E5;
	CButton	m_E4;
	CButton	m_E3;
	CButton	m_E2;
	CButton	m_E1;
	CButton	m_D8;
	CButton	m_D7;
	CButton	m_D6;
	CButton	m_D5;
	CButton	m_D4;
	CButton	m_D3;
	CButton	m_D2;
	CButton	m_D1;
	CButton	m_C8;
	CButton	m_C7;
	CButton	m_C6;
	CButton	m_C5;
	CButton	m_C4;
	CButton	m_C3;
	CButton	m_C2;
	CButton	m_C1;
	CButton	m_B8;
	CButton	m_B7;
	CButton	m_B6;
	CButton	m_B5;
	CButton	m_B4;
	CButton	m_B3;
	CButton	m_B2;
	CButton	m_B1;
	CButton	m_A8;
	CButton	m_A7;
	CButton	m_A6;
	CButton	m_A5;
	CButton	m_A4;
	CButton	m_A3;
	CButton	m_A2;
	CButton	m_A1;
	CComboBox	m_Combo;
	CString	m_Text;			//定义“通知区”字符串
	CMSComm	m_ComPort;		//串口变量
	CString	m_Call;			//记录发出呼叫的学生号
	CString	m_Discrip;		//定义“功能说明”字符串
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSoundDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnSend();
	afx_msg void OnA1();
	afx_msg void OnA2();
	afx_msg void OnA3();
	afx_msg void OnA4();
	afx_msg void OnA5();
	afx_msg void OnA6();
	afx_msg void OnA7();
	afx_msg void OnA8();
	afx_msg void OnB1();
	afx_msg void OnB2();
	afx_msg void OnB3();
	afx_msg void OnB4();
	afx_msg void OnB5();
	afx_msg void OnB6();
	afx_msg void OnB7();
	afx_msg void OnB8();
	afx_msg void OnC1();
	afx_msg void OnC2();
	afx_msg void OnC3();
	afx_msg void OnC4();
	afx_msg void OnC5();
	afx_msg void OnC6();
	afx_msg void OnC7();
	afx_msg void OnC8();
	afx_msg void OnD1();
	afx_msg void OnD2();
	afx_msg void OnD3();
	afx_msg void OnD4();
	afx_msg void OnD5();
	afx_msg void OnD6();
	afx_msg void OnD7();
	afx_msg void OnD8();
	afx_msg void OnE1();
	afx_msg void OnE2();
	afx_msg void OnE3();
	afx_msg void OnE4();
	afx_msg void OnE5();
	afx_msg void OnE6();
	afx_msg void OnE7();
	afx_msg void OnE8();
	afx_msg void OnF1();
	afx_msg void OnF2();
	afx_msg void OnF3();
	afx_msg void OnF4();
	afx_msg void OnF5();
	afx_msg void OnF6();
	afx_msg void OnF7();
	afx_msg void OnF8();
	afx_msg void OnG1();
	afx_msg void OnG2();
	afx_msg void OnG3();
	afx_msg void OnG4();
	afx_msg void OnG5();
	afx_msg void OnG6();
	afx_msg void OnG7();
	afx_msg void OnG8();
	afx_msg void OnH1();
	afx_msg void OnH2();
	afx_msg void OnH4();
	afx_msg void OnH3();
	afx_msg void OnH5();
	afx_msg void OnH6();
	afx_msg void OnH7();
	afx_msg void OnH8();
	afx_msg void OnOnCommMscomm();
	afx_msg void OnAdd();
	afx_msg void OnDec();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void SaveData(int Count,unsigned char * pbVal);
	void ProcessData(void);
};

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

#endif // !defined(AFX_SOUNDDLG_H__B585D766_8796_11D6_86CD_0000E8E7C91D__INCLUDED_)

⌨️ 快捷键说明

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