?? sendmsgocxppg.cpp
字號:
// SendMsgOCXPpg.cpp : Implementation of the CSendMsgOCXPropPage property page class.
#include "stdafx.h"
#include "SendMsgOCX.h"
#include "SendMsgOCXPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CSendMsgOCXPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CSendMsgOCXPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CSendMsgOCXPropPage)
// 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(CSendMsgOCXPropPage, "SENDMSGOCX.SendMsgOCXPropPage.1",
0xa480ed48, 0xd1c3, 0x4af6, 0x85, 0x57, 0x4, 0xf2, 0x2a, 0x99, 0xbf, 0xc1)
/////////////////////////////////////////////////////////////////////////////
// CSendMsgOCXPropPage::CSendMsgOCXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSendMsgOCXPropPage
BOOL CSendMsgOCXPropPage::CSendMsgOCXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SENDMSGOCX_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSendMsgOCXPropPage::CSendMsgOCXPropPage - Constructor
CSendMsgOCXPropPage::CSendMsgOCXPropPage() :
COlePropertyPage(IDD, IDS_SENDMSGOCX_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CSendMsgOCXPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CSendMsgOCXPropPage::DoDataExchange - Moves data between page and properties
void CSendMsgOCXPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CSendMsgOCXPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CSendMsgOCXPropPage message handlers
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -