| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- // BarCodePropPage.cpp : Implementation of the CBarCodePropPage property page class.
- #include "stdafx.h"
- #include "BarCode.h"
- #include "BarCodePropPage.h"
- #include ".\barcodeproppage.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #endif
- IMPLEMENT_DYNCREATE(CBarCodePropPage, COlePropertyPage)
- // Message map
- BEGIN_MESSAGE_MAP(CBarCodePropPage, COlePropertyPage)
- END_MESSAGE_MAP()
- // Initialize class factory and guid
- IMPLEMENT_OLECREATE_EX(CBarCodePropPage, "BARCODE.BarCodePropPage.1",
- 0x86f10225, 0x14ea, 0x47f0, 0xbb, 0x60, 0x1c, 0xef, 0x8b, 0xff, 0x78, 0x94)
- // CBarCodePropPage::CBarCodePropPageFactory::UpdateRegistry -
- // Adds or removes system registry entries for CBarCodePropPage
- BOOL CBarCodePropPage::CBarCodePropPageFactory::UpdateRegistry(BOOL bRegister)
- {
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_BARCODE_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
- }
- // CBarCodePropPage::CBarCodePropPage - Constructor
- CBarCodePropPage::CBarCodePropPage() :
- COlePropertyPage(IDD, IDS_BARCODE_PPG_CAPTION)
- {
- }
- // CBarCodePropPage::DoDataExchange - Moves data between page and properties
- void CBarCodePropPage::DoDataExchange(CDataExchange* pDX)
- {
- DDP_PostProcessing(pDX);
- }
- // CBarCodePropPage message handlers
|