www.pudn.com > DrawerMenu(ÍêÕû°æ).rar > DrawerMenuPpg.cpp
// DrawerMenuPpg.cpp : Implementation of the CDrawerMenuPropPage property page class.
#include "stdafx.h"
#include "DrawerMenu.h"
#include "DrawerMenuPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CDrawerMenuPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CDrawerMenuPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CDrawerMenuPropPage)
// 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(CDrawerMenuPropPage, "DRAWERMENU.DrawerMenuPropPage.1",
0x4746d43, 0xb518, 0x4dfb, 0x90, 0x1f, 0xa7, 0x89, 0x74, 0xdb, 0x9e, 0x25)
/////////////////////////////////////////////////////////////////////////////
// CDrawerMenuPropPage::CDrawerMenuPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CDrawerMenuPropPage
BOOL CDrawerMenuPropPage::CDrawerMenuPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_DRAWERMENU_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CDrawerMenuPropPage::CDrawerMenuPropPage - Constructor
CDrawerMenuPropPage::CDrawerMenuPropPage() :
COlePropertyPage(IDD, IDS_DRAWERMENU_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CDrawerMenuPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CDrawerMenuPropPage::DoDataExchange - Moves data between page and properties
void CDrawerMenuPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CDrawerMenuPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CDrawerMenuPropPage message handlers