📄 xgridctrlppg.cpp
字号:
// XGridCtrlPpg.cpp : Implementation of the CXGridCtrlPropPage property page class.
#include "stdafx.h"
#include "XGridCtrl.h"
#include "XGridCtrlPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CXGridCtrlPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CXGridCtrlPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CXGridCtrlPropPage)
// 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(CXGridCtrlPropPage, "XGRIDCTRL.XGridCtrlPropPage.1",
0x642a0a8a, 0xeeaa, 0x4e7c, 0x87, 0x96, 0x6b, 0xd1, 0xc, 0x53, 0xbc, 0xc)
/////////////////////////////////////////////////////////////////////////////
// CXGridCtrlPropPage::CXGridCtrlPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CXGridCtrlPropPage
BOOL CXGridCtrlPropPage::CXGridCtrlPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_XGRIDCTRL_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CXGridCtrlPropPage::CXGridCtrlPropPage - Constructor
CXGridCtrlPropPage::CXGridCtrlPropPage() :
COlePropertyPage(IDD, IDS_XGRIDCTRL_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CXGridCtrlPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CXGridCtrlPropPage::DoDataExchange - Moves data between page and properties
void CXGridCtrlPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CXGridCtrlPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CXGridCtrlPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -