www.pudn.com > ActiveH263_V1.00.rar > ActiveH263Ctl.h


#if !defined(AFX_ACTIVEH263CTL_H__91CE5C12_8992_47B4_9B77_8DBBB5E2DE95__INCLUDED_) 
#define AFX_ACTIVEH263CTL_H__91CE5C12_8992_47B4_9B77_8DBBB5E2DE95__INCLUDED_ 
 
#include "H263lib.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
// ActiveH263Ctl.h : Declaration of the CActiveH263Ctrl ActiveX Control class. 
 
///////////////////////////////////////////////////////////////////////////// 
// CActiveH263Ctrl : See ActiveH263Ctl.cpp for implementation. 
 
class CActiveH263Ctrl : public COleControl 
{ 
	DECLARE_DYNCREATE(CActiveH263Ctrl) 
 
// Constructor 
public: 
	CActiveH263Ctrl(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CActiveH263Ctrl) 
	public: 
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid); 
	virtual void DoPropExchange(CPropExchange* pPX); 
	virtual void OnResetState(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	~CActiveH263Ctrl(); 
 
	DECLARE_OLECREATE_EX(CActiveH263Ctrl)    // Class factory and guid 
	DECLARE_OLETYPELIB(CActiveH263Ctrl)      // GetTypeInfo 
	DECLARE_PROPPAGEIDS(CActiveH263Ctrl)     // Property page IDs 
	DECLARE_OLECTLTYPE(CActiveH263Ctrl)		// Type name and misc status 
 
// Message maps 
	//{{AFX_MSG(CActiveH263Ctrl) 
		// 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(CActiveH263Ctrl) 
	afx_msg void StartWrite(); 
	afx_msg void StartDecoder(); 
	afx_msg void Stop(); 
	//}}AFX_DISPATCH 
	DECLARE_DISPATCH_MAP() 
 
	afx_msg void AboutBox(); 
 
// Event maps 
	//{{AFX_EVENT(CActiveH263Ctrl) 
	//}}AFX_EVENT 
	DECLARE_EVENT_MAP() 
 
// Dispatch and event IDs 
public: 
	HWND hWnd; 
	H263lib m_263lib; 
	FILE *WTrfp; 
	enum { 
	//{{AFX_DISP_ID(CActiveH263Ctrl) 
	dispidStartWrite = 1L, 
	dispidStartDecoder = 2L, 
	dispidStop = 3L, 
	//}}AFX_DISP_ID 
	}; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ACTIVEH263CTL_H__91CE5C12_8992_47B4_9B77_8DBBB5E2DE95__INCLUDED)