⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testsocketappg.cpp

📁 适合初学者
💻 CPP
字号:
// TestSocketAPpg.cpp : Implementation of the CTestSocketAPropPage property page class.

#include "stdafx.h"
#include "TestSocketA.h"
#include "TestSocketAPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CTestSocketAPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CTestSocketAPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CTestSocketAPropPage)
	// 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(CTestSocketAPropPage, "TESTSOCKETA.TestSocketAPropPage.1",
	0x3c1180b6, 0xb5c8, 0x46de, 0xaf, 0xcc, 0x20, 0x51, 0x86, 0x5e, 0xd9, 0xe)


/////////////////////////////////////////////////////////////////////////////
// CTestSocketAPropPage::CTestSocketAPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CTestSocketAPropPage

BOOL CTestSocketAPropPage::CTestSocketAPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_TESTSOCKETA_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CTestSocketAPropPage::CTestSocketAPropPage - Constructor

CTestSocketAPropPage::CTestSocketAPropPage() :
	COlePropertyPage(IDD, IDS_TESTSOCKETA_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CTestSocketAPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CTestSocketAPropPage::DoDataExchange - Moves data between page and properties

void CTestSocketAPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CTestSocketAPropPage)
	// 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);
}


/////////////////////////////////////////////////////////////////////////////
// CTestSocketAPropPage message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -