📄 fontcurveppg.cpp
字号:
// 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -