📄 sam_windowppg.cpp
字号:
// Sam_windowPpg.cpp : Implementation of the CSam_windowPropPage property page class.
#include "stdafx.h"
#include "sam_21.h"
#include "Sam_windowPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CSam_windowPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CSam_windowPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CSam_windowPropPage)
// 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(CSam_windowPropPage, "SAM21.SamwindowPropPage.1",
0x58c72a4a, 0xd633, 0x11d3, 0x9b, 0x30, 0x52, 0x54, 0x4c, 0x39, 0x3a, 0x8c)
/////////////////////////////////////////////////////////////////////////////
// CSam_windowPropPage::CSam_windowPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSam_windowPropPage
BOOL CSam_windowPropPage::CSam_windowPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SAM_WINDOW_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSam_windowPropPage::CSam_windowPropPage - Constructor
CSam_windowPropPage::CSam_windowPropPage() :
COlePropertyPage(IDD, IDS_SAM_WINDOW_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CSam_windowPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CSam_windowPropPage::DoDataExchange - Moves data between page and properties
void CSam_windowPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CSam_windowPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CSam_windowPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -