appwinzardapi.odl

来自「控件制作的简单离子」· ODL 代码 · 共 72 行

ODL
72
字号
// AppWinzardApi.odl : type library source for ActiveX Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (AppWinzardApi.tlb) that will become a resource in
// AppWinzardApi.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(BD317ACF-E78E-4592-8284-68CA07FDBE85), version(1.0),
  helpfile("AppWinzardApi.hlp"),
  helpstring("AppWinzardApi ActiveX Control module"),
  control ]
library APPWINZARDAPILib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CAppWinzardApiCtrl

	[ uuid(49B9E417-70A3-45BE-92CD-57BD50A1F1E3),
	  helpstring("Dispatch interface for AppWinzardApi Control"), hidden ]
	dispinterface _DAppWinzardApi
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CAppWinzardApiCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CAppWinzardApiCtrl)
			[id(1)] short ALTQApi();
			[id(2)] short CTLQApi();
			//}}AFX_ODL_METHOD

			[id(DISPID_ABOUTBOX)] void AboutBox();
	};

	//  Event dispatch interface for CAppWinzardApiCtrl

	[ uuid(36964267-4495-478A-A901-93D1CD3DDB72),
	  helpstring("Event interface for AppWinzardApi Control") ]
	dispinterface _DAppWinzardApiEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CAppWinzardApiCtrl)
			//}}AFX_ODL_EVENT
	};

	//  Class information for CAppWinzardApiCtrl

	[ uuid(15D2CBB8-2F18-4008-899A-FE452D1E55AE),
	  helpstring("AppWinzardApi Control"), control ]
	coclass AppWinzardApi
	{
		[default] dispinterface _DAppWinzardApi;
		[default, source] dispinterface _DAppWinzardApiEvents;
	};


	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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