📄 myvoipppg.cpp
字号:
// MyvoipPpg.cpp : Implementation of the CMyvoipPropPage property page class.
#include "stdafx.h"
#include "myvoip.h"
#include "MyvoipPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CMyvoipPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CMyvoipPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CMyvoipPropPage)
// 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(CMyvoipPropPage, "MYVOIP.MyvoipPropPage.1",
0x3524d94c, 0xf179, 0x4e3d, 0xab, 0x80, 0x81, 0x9a, 0x18, 0xaa, 0x5a, 0xb1)
/////////////////////////////////////////////////////////////////////////////
// CMyvoipPropPage::CMyvoipPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMyvoipPropPage
BOOL CMyvoipPropPage::CMyvoipPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_MYVOIP_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CMyvoipPropPage::CMyvoipPropPage - Constructor
CMyvoipPropPage::CMyvoipPropPage() :
COlePropertyPage(IDD, IDS_MYVOIP_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CMyvoipPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CMyvoipPropPage::DoDataExchange - Moves data between page and properties
void CMyvoipPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CMyvoipPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CMyvoipPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -