www.pudn.com > IEFilter.rar > IEFilterPpg.cpp


// IEFilterPpg.cpp : Implementation of the CIEFilterPropPage property page class. 
 
#include "stdafx.h" 
#include "IEFilter.h" 
#include "IEFilterPpg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
 
IMPLEMENT_DYNCREATE(CIEFilterPropPage, COlePropertyPage) 
 
 
///////////////////////////////////////////////////////////////////////////// 
// Message map 
 
BEGIN_MESSAGE_MAP(CIEFilterPropPage, COlePropertyPage) 
	//{{AFX_MSG_MAP(CIEFilterPropPage) 
	// 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(CIEFilterPropPage, "IEFILTER.IEFilterPropPage.1", 
	0x7e040a4f, 0xb573, 0x4d59, 0x95, 0x98, 0xa, 0x6a, 0x6, 0x16, 0xde, 0xf1) 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CIEFilterPropPage::CIEFilterPropPageFactory::UpdateRegistry - 
// Adds or removes system registry entries for CIEFilterPropPage 
 
BOOL CIEFilterPropPage::CIEFilterPropPageFactory::UpdateRegistry(BOOL bRegister) 
{ 
	if (bRegister) 
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), 
			m_clsid, IDS_IEFILTER_PPG); 
	else 
		return AfxOleUnregisterClass(m_clsid, NULL); 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CIEFilterPropPage::CIEFilterPropPage - Constructor 
 
CIEFilterPropPage::CIEFilterPropPage() : 
	COlePropertyPage(IDD, IDS_IEFILTER_PPG_CAPTION) 
{ 
	//{{AFX_DATA_INIT(CIEFilterPropPage) 
	// NOTE: ClassWizard will add member initialization here 
	//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_DATA_INIT 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CIEFilterPropPage::DoDataExchange - Moves data between page and properties 
 
void CIEFilterPropPage::DoDataExchange(CDataExchange* pDX) 
{ 
	//{{AFX_DATA_MAP(CIEFilterPropPage) 
	// 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); 
	 
} 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CIEFilterPropPage message handlers