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

📄 box.odl

📁 INTERNET网络高级编程的包括邮件加密、MAPI、ISAPI、ACTIVEX、FTP等等。
💻 ODL
字号:
// Box.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 (Box.tlb) that will become a resource in
// Box.ocx.

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

[ uuid(704F2B59-C610-11D4-AF14-00E04CDD4565), version(1.0),
  helpfile("Box.hlp"),
  helpstring("Box ActiveX Control module"),
  control ]
library BOXLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CBoxCtrl

	[ uuid(704F2B5A-C610-11D4-AF14-00E04CDD4565),
	  helpstring("Dispatch interface for Box Control"), hidden ]
	dispinterface _DBox
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CBoxCtrl)
			[id(1)] short Count;
			[id(2)] boolean Number;
			[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
			[id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
			[id(3)] boolean Useable;
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CBoxCtrl)
			[id(4)] void DoRoll();
			//}}AFX_ODL_METHOD

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

	//  Event dispatch interface for CBoxCtrl

	[ uuid(704F2B5B-C610-11D4-AF14-00E04CDD4565),
	  helpstring("Event interface for Box Control") ]
	dispinterface _DBoxEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CBoxCtrl)
			[id(DISPID_CLICK)] void Click();
			//}}AFX_ODL_EVENT
	};

	//  Class information for CBoxCtrl

	[ uuid(704F2B5C-C610-11D4-AF14-00E04CDD4565),
	  helpstring("Box Control"), control ]
	coclass Box
	{
		[default] dispinterface _DBox;
		[default, source] dispinterface _DBoxEvents;
	};


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

⌨️ 快捷键说明

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