// NetViewXPpg.cpp : Implementation of the CNetViewXPropPage property page class.

#include "stdafx.h"
#include "NetViewX.h"
#include "NetViewXPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CNetViewXPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CNetViewXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CNetViewXPropPage)
	// 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(CNetViewXPropPage, "NETVIEWX.NetViewXPropPage.1",
	0x43c2bac9, 0x4aeb, 0x4700, 0xa3, 0xd2, 0xa7, 0x60, 0x8a, 0xb3, 0x18, 0x18)


/////////////////////////////////////////////////////////////////////////////
// CNetViewXPropPage::CNetViewXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CNetViewXPropPage

BOOL CNetViewXPropPage::CNetViewXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_NETVIEWX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CNetViewXPropPage::CNetViewXPropPage - Constructor

CNetViewXPropPage::CNetViewXPropPage() :
	COlePropertyPage(IDD, IDS_NETVIEWX_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CNetViewXPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CNetViewXPropPage::DoDataExchange - Moves data between page and properties

void CNetViewXPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CNetViewXPropPage)
	// 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);
}


/////////////////////////////////////////////////////////////////////////////
// CNetViewXPropPage message handlers
