home *** CD-ROM | disk | FTP | other *** search
- // Lst43Ppg.cpp : Implementation of the CLst43PropPage property page class.
-
- #include "stdafx.h"
- #include "lst43.h"
- #include "Lst43Ppg.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
-
- IMPLEMENT_DYNCREATE(CLst43PropPage, COlePropertyPage)
-
-
- /////////////////////////////////////////////////////////////////////////////
- // Message map
-
- BEGIN_MESSAGE_MAP(CLst43PropPage, COlePropertyPage)
- //{{AFX_MSG_MAP(CLst43PropPage)
- // 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(CLst43PropPage, "LST43.Lst43PropPage.1",
- 0x6b70daf, 0x1818, 0x11d0, 0xa6, 0xad, 0, 0xaa, 0, 0x60, 0x25, 0x53)
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CLst43PropPage::CLst43PropPageFactory::UpdateRegistry -
- // Adds or removes system registry entries for CLst43PropPage
-
- BOOL CLst43PropPage::CLst43PropPageFactory::UpdateRegistry(BOOL bRegister)
- {
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_LST43_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CLst43PropPage::CLst43PropPage - Constructor
-
- CLst43PropPage::CLst43PropPage() :
- COlePropertyPage(IDD, IDS_LST43_PPG_CAPTION)
- {
- //{{AFX_DATA_INIT(CLst43PropPage)
- // NOTE: ClassWizard will add member initialization here
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DATA_INIT
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CLst43PropPage::DoDataExchange - Moves data between page and properties
-
- void CLst43PropPage::DoDataExchange(CDataExchange* pDX)
- {
- //{{AFX_DATA_MAP(CLst43PropPage)
- // 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);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CLst43PropPage message handlers
-