home *** CD-ROM | disk | FTP | other *** search
- // DayPPg.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "Calen.h"
- #include "DayPPg.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CDayPropPage dialog
-
- IMPLEMENT_DYNCREATE(CDayPropPage, COlePropertyPage)
-
-
- /////////////////////////////////////////////////////////////////////////////
- // Message map
-
- BEGIN_MESSAGE_MAP(CDayPropPage, COlePropertyPage)
- //{{AFX_MSG_MAP(CDayPropPage)
- // 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
-
- // {7B676311-0F58-11CF-B4D0-0080C81A397C}
- IMPLEMENT_OLECREATE_EX(CDayPropPage, "Calen.CDayPropPage",
- 0x7b676311, 0xf58, 0x11cf, 0xb4, 0xd0, 0x0, 0x80, 0xc8, 0x1a, 0x39, 0x7c)
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CDayPropPage::CDayPropPageFactory::UpdateRegistry -
- // Adds or removes system registry entries for CDayPropPage
-
- BOOL CDayPropPage::CDayPropPageFactory::UpdateRegistry(BOOL bRegister)
- {
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_DAY_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CDayPropPage::CDayPropPage - Constructor
-
- CDayPropPage::CDayPropPage() :
- COlePropertyPage(IDD, IDS_DAY_PPG_CAPTION)
- {
- //{{AFX_DATA_INIT(CDayPropPage)
- m_dayBorderStyle = -1;
- //}}AFX_DATA_INIT
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CDayPropPage::DoDataExchange - Moves data between page and properties
-
- void CDayPropPage::DoDataExchange(CDataExchange* pDX)
- {
- // 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(CDayPropPage)
- DDP_CBIndex(pDX, IDC_DBORDERSTYLE, m_dayBorderStyle, _T("DayBorderStyle") );
- DDX_CBIndex(pDX, IDC_DBORDERSTYLE, m_dayBorderStyle);
- //}}AFX_DATA_MAP
- DDP_PostProcessing(pDX);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CDayPropPage message handlers
-