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

📄 actvoicectl.h

📁 matlab 扩展编程书的代码 matlab 扩展编程书另传
💻 H
字号:
#if !defined(AFX_ACTVOICECTL_H__63A7E2C9_D047_11D5_A482_0010A4F22AD8__INCLUDED_)
#define AFX_ACTVOICECTL_H__63A7E2C9_D047_11D5_A482_0010A4F22AD8__INCLUDED_

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

// ActVoiceCtl.h : Declaration of the CActVoiceCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CActVoiceCtrl : See ActVoiceCtl.cpp for implementation.

class CActVoiceCtrl : public COleControl
{
	DECLARE_DYNCREATE(CActVoiceCtrl)

// Constructor
public:
	CActVoiceCtrl();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CActVoiceCtrl)
	public:
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
	virtual void DoPropExchange(CPropExchange* pPX);
	virtual void OnResetState();
	//}}AFX_VIRTUAL

// Implementation
protected:
	~CActVoiceCtrl();

	DECLARE_OLECREATE_EX(CActVoiceCtrl)    // Class factory and guid
	DECLARE_OLETYPELIB(CActVoiceCtrl)      // GetTypeInfo
	DECLARE_PROPPAGEIDS(CActVoiceCtrl)     // Property page IDs
	DECLARE_OLECTLTYPE(CActVoiceCtrl)		// Type name and misc status

// Message maps
	//{{AFX_MSG(CActVoiceCtrl)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CActVoiceCtrl)
	afx_msg void start();
	afx_msg void stop();
	afx_msg VARIANT readwave();
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

// Event maps
	//{{AFX_EVENT(CActVoiceCtrl)
	void FireDone()
		{FireEvent(eventidDone,EVENT_PARAM(VTS_NONE));}
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	SAFEARRAY* GetSafeArray (double *pr, long len);
	void onWaveDone();
	enum {
	//{{AFX_DISP_ID(CActVoiceCtrl)
	dispidStart = 1L,
	dispidStop = 2L,
	dispidReadwave = 3L,
	eventidDone = 1L,
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_ACTVOICECTL_H__63A7E2C9_D047_11D5_A482_0010A4F22AD8__INCLUDED)

⌨️ 快捷键说明

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