www.pudn.com > ActiveH263_V1.00.rar > ActiveH263Ppg.cpp


// ActiveH263Ppg.cpp : Implementation of the CActiveH263PropPage property page class. 
 
#include "stdafx.h" 
#include "ActiveH263.h" 
#include "ActiveH263Ppg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
 
IMPLEMENT_DYNCREATE(CActiveH263PropPage, COlePropertyPage) 
 
 
///////////////////////////////////////////////////////////////////////////// 
// Message map 
 
BEGIN_MESSAGE_MAP(CActiveH263PropPage, COlePropertyPage) 
	//{{AFX_MSG_MAP(CActiveH263PropPage) 
	// NOTE - ClassWizard will add and remove message map entries 
	//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
 
///////////////////////////////////////////////////////////////////////////// 
// Initialize class factory and guid 
 
IMPLEMENT_OLECREATE_EX(CActiveH263PropPage, "ACTIVEH263.ActiveH263PropPage.1", 
	0x4eb9f5b1, 0xe4f5, 0x492f, 0x86, 0x39, 0xf, 0x56, 0xd6, 0x51, 0x8e, 0xb9) 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CActiveH263PropPage::CActiveH263PropPageFactory::UpdateRegistry - 
// Adds or removes system registry entries for CActiveH263PropPage 
 
BOOL CActiveH263PropPage::CActiveH263PropPageFactory::UpdateRegistry(BOOL bRegister) 
{ 
	if (bRegister) 
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), 
			m_clsid, IDS_ACTIVEH263_PPG); 
	else 
		return AfxOleUnregisterClass(m_clsid, NULL); 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CActiveH263PropPage::CActiveH263PropPage - Constructor 
 
CActiveH263PropPage::CActiveH263PropPage() : 
	COlePropertyPage(IDD, IDS_ACTIVEH263_PPG_CAPTION) 
{ 
	//{{AFX_DATA_INIT(CActiveH263PropPage) 
	// NOTE: ClassWizard will add member initialization here 
	//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_DATA_INIT 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CActiveH263PropPage::DoDataExchange - Moves data between page and properties 
 
void CActiveH263PropPage::DoDataExchange(CDataExchange* pDX) 
{ 
	//{{AFX_DATA_MAP(CActiveH263PropPage) 
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here 
	//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_DATA_MAP 
	DDP_PostProcessing(pDX); 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CActiveH263PropPage message handlers