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