////////////////////////////////////////////////////////////////////////////////
//
//   ActiveX Control-
//     -  
// <VCTreePpg.h>
//
////////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "VCTree.h"
#include "VCTreePpg.h"

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


IMPLEMENT_DYNCREATE(CVCTreePropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CVCTreePropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CVCTreePropPage)
	// 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(CVCTreePropPage, "VCTree.VCTreePropPage.1",
	0xfd0341b8, 0x888, 0x456f, 0x80, 0x20, 0xe0, 0x2f, 0xac, 0x25, 0x7e, 0x6b)


/////////////////////////////////////////////////////////////////////////////
// CVCTreePropPage::CVCTreePropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CVCTreePropPage
BOOL CVCTreePropPage::CVCTreePropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_VCTREE_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


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


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

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


/////////////////////////////////////////////////////////////////////////////
// CVCTreePropPage message handlers
