FontCurvePpg.cpp
资源名称:fontcurve.rar [点击查看]
上传用户:sz81710966
上传日期:2013-03-01
资源大小:409k
文件大小:2k
源码类别:
多国语言处理
开发平台:
Visual C++
- // FontCurvePpg.cpp : Implementation of the CFontCurvePropPage property page class.
- #include "stdafx.h"
- #include "FontCurve.h"
- #include "FontCurvePpg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- IMPLEMENT_DYNCREATE(CFontCurvePropPage, COlePropertyPage)
- /////////////////////////////////////////////////////////////////////////////
- // Message map
- BEGIN_MESSAGE_MAP(CFontCurvePropPage, COlePropertyPage)
- //{{AFX_MSG_MAP(CFontCurvePropPage)
- // 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(CFontCurvePropPage, "FONTCURVE.FontCurvePropPage.1",
- 0xa62f4b42, 0x6711, 0x45e6, 0x80, 0x77, 0x43, 0x38, 0xa0, 0xff, 0x79, 0xf4)
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurvePropPage::CFontCurvePropPageFactory::UpdateRegistry -
- // Adds or removes system registry entries for CFontCurvePropPage
- BOOL CFontCurvePropPage::CFontCurvePropPageFactory::UpdateRegistry(BOOL bRegister)
- {
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_FONTCURVE_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurvePropPage::CFontCurvePropPage - Constructor
- CFontCurvePropPage::CFontCurvePropPage() :
- COlePropertyPage(IDD, IDS_FONTCURVE_PPG_CAPTION)
- {
- //{{AFX_DATA_INIT(CFontCurvePropPage)
- // NOTE: ClassWizard will add member initialization here
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DATA_INIT
- SetHelpInfo(_T("Names to appear in the control"), _T("FONTCURVE.HLP"), 0);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurvePropPage::DoDataExchange - Moves data between page and properties
- void CFontCurvePropPage::DoDataExchange(CDataExchange* pDX)
- {
- //{{AFX_DATA_MAP(CFontCurvePropPage)
- // 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);
- }
- /////////////////////////////////////////////////////////////////////////////
- // CFontCurvePropPage message handlers