gusucode.com > 精典源码Delphi044:指纹考勤管理系统源码程序 > 精典源码Delphi044:指纹考勤管理系统源码程序/精典源码Delphi044:指纹考勤管理系统/顺发指纹考勤管理系统/指纹考勤系统/1.2newcxy/FPPpg.cpp

    // FPPpg.cpp : Implementation of the CFPPropPage property page class.

#include "stdafx.h"
#include "FP.h"
#include "FPPpg.h"

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


IMPLEMENT_DYNCREATE(CFPPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CFPPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CFPPropPage)
	// 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(CFPPropPage, "FP.FPPropPage.1",
	0xb40bcdea, 0xb949, 0x11d3, 0x98, 0xf0, 0xbd, 0xa0, 0x34, 0x90, 0x69, 0x7a)


/////////////////////////////////////////////////////////////////////////////
// CFPPropPage::CFPPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CFPPropPage

BOOL CFPPropPage::CFPPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_FP_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CFPPropPage::CFPPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CFPPropPage message handlers