WinFinderPpg.cpp
上传用户:lwzh1970
上传日期:2007-01-01
资源大小:33k
文件大小:2k
- // WinFinderPpg.cpp : Implementation of the CWinFinderPropPage property page class.
- #include "stdafx.h"
- #include "WinFinder.h"
- #include "WinFinderPpg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- IMPLEMENT_DYNCREATE(CWinFinderPropPage, COlePropertyPage)
- /////////////////////////////////////////////////////////////////////////////
- // Message map
- BEGIN_MESSAGE_MAP(CWinFinderPropPage, COlePropertyPage)
- //{{AFX_MSG_MAP(CWinFinderPropPage)
- // 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(CWinFinderPropPage, "WINFINDER.WinFinderPropPage.1",
- 0xdca2aa4, 0xc50f, 0x11d2, 0x95, 0x80, 0x20, 0xb3, 0x4e, 0xc1, 0, 0)
- /////////////////////////////////////////////////////////////////////////////
- // CWinFinderPropPage::CWinFinderPropPageFactory::UpdateRegistry -
- // Adds or removes system registry entries for CWinFinderPropPage
- BOOL CWinFinderPropPage::CWinFinderPropPageFactory::UpdateRegistry(BOOL bRegister)
- {
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_WINFINDER_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CWinFinderPropPage::CWinFinderPropPage - Constructor
- CWinFinderPropPage::CWinFinderPropPage() :
- COlePropertyPage(IDD, IDS_WINFINDER_PPG_CAPTION)
- {
- //{{AFX_DATA_INIT(CWinFinderPropPage)
- // NOTE: ClassWizard will add member initialization here
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DATA_INIT
- }
- /////////////////////////////////////////////////////////////////////////////
- // CWinFinderPropPage::DoDataExchange - Moves data between page and properties
- void CWinFinderPropPage::DoDataExchange(CDataExchange* pDX)
- {
- //{{AFX_DATA_MAP(CWinFinderPropPage)
- // 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);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CWinFinderPropPage message handlers