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

📄 testocxppg.cpp

📁 java中实现jni调用,jni调用dll ,dll再调用dll ,dll显示调用
💻 CPP
字号:
// TestOCXPpg.cpp : Implementation of the CTestOCXPropPage property page class.

#include "stdafx.h"
#include "testOCX.h"
#include "TestOCXPpg.h"

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


IMPLEMENT_DYNCREATE(CTestOCXPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CTestOCXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CTestOCXPropPage)
	// 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(CTestOCXPropPage, "TESTOCX.TestOCXPropPage.1",
	0x65770293, 0x2fb2, 0x4ba2, 0xbc, 0xde, 0x25, 0xf0, 0x1e, 0x81, 0xf4, 0x30)


/////////////////////////////////////////////////////////////////////////////
// CTestOCXPropPage::CTestOCXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CTestOCXPropPage

BOOL CTestOCXPropPage::CTestOCXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_TESTOCX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CTestOCXPropPage::CTestOCXPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CTestOCXPropPage message handlers

⌨️ 快捷键说明

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