// ScanServPpg.cpp : Implementation of the CScanServPropPage property page class.

#include "stdafx.h"
#include "ScanServ.h"
#include "ScanServPpg.h"

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


IMPLEMENT_DYNCREATE(CScanServPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CScanServPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CScanServPropPage)
	// 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(CScanServPropPage, "SCANSERV.ScanServPropPage.1",
	0x94d54b16, 0x7d27, 0x11d5, 0xbb, 0x1c, 0, 0xe0, 0x7d, 0x93, 0xbf, 0xd9)


/////////////////////////////////////////////////////////////////////////////
// CScanServPropPage::CScanServPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CScanServPropPage

BOOL CScanServPropPage::CScanServPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_SCANSERV_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CScanServPropPage::CScanServPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CScanServPropPage message handlers
