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

📄 usbkeypnpactivexppg.cpp

📁 手机智能卡开发
💻 CPP
字号:
// USBKeyPnPActiveXPpg.cpp : Implementation of the CUSBKeyPnPActiveXPropPage property page class.

#include "stdafx.h"
#include "USBKeyPnPActiveX.h"
#include "USBKeyPnPActiveXPpg.h"

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


IMPLEMENT_DYNCREATE(CUSBKeyPnPActiveXPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CUSBKeyPnPActiveXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CUSBKeyPnPActiveXPropPage)
	// 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(CUSBKeyPnPActiveXPropPage, "USBKEYPNPACTIVEX.USBKeyPnPActiveXPropPage.1",
	0x40fe5115, 0xf13e, 0x496b, 0xa3, 0xf1, 0x55, 0xd2, 0x1d, 0x5a, 0xe1, 0xb6)


/////////////////////////////////////////////////////////////////////////////
// CUSBKeyPnPActiveXPropPage::CUSBKeyPnPActiveXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CUSBKeyPnPActiveXPropPage

BOOL CUSBKeyPnPActiveXPropPage::CUSBKeyPnPActiveXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_USBKEYPNPACTIVEX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CUSBKeyPnPActiveXPropPage::CUSBKeyPnPActiveXPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CUSBKeyPnPActiveXPropPage message handlers

⌨️ 快捷键说明

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