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

📄 audioctl.h

📁 UDP语音通讯控件源码
💻 H
字号:
#if !defined(AFX_AUDIOCTL_H__DEE7C2B1_B2AA_4472_8BD0_A1F349A966BD__INCLUDED_)
#define AFX_AUDIOCTL_H__DEE7C2B1_B2AA_4472_8BD0_A1F349A966BD__INCLUDED_
#include "Interface.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// AUDIOCtl.h : Declaration of the CAUDIOCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CAUDIOCtrl : See AUDIOCtl.cpp for implementation.

class CAUDIOCtrl : public COleControl
{
	DECLARE_DYNCREATE(CAUDIOCtrl)

// Constructor
public:
	CAUDIOCtrl();

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

// Implementation
protected:
	CInterface m_talk;
	~CAUDIOCtrl();

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

// Message maps
	//{{AFX_MSG(CAUDIOCtrl)
		// 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(CAUDIOCtrl)
	afx_msg void Begintalk();
	afx_msg void Endtalk();
	afx_msg void SetIpPort(LPCTSTR Password, LPCTSTR Usip, long Usport, long Myport);
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

// Event maps
	//{{AFX_EVENT(CAUDIOCtrl)
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	enum {
	//{{AFX_DISP_ID(CAUDIOCtrl)
	dispidBegintalk = 1L,
	dispidEndtalk = 2L,
	dispidSetIpPort = 3L,
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_AUDIOCTL_H__DEE7C2B1_B2AA_4472_8BD0_A1F349A966BD__INCLUDED)

⌨️ 快捷键说明

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