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

📄 shortcontroller.odl

📁 VC写的用于电力监控系统中的一个ActiveX控件
💻 ODL
字号:
// ShortController.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 (ShortController.tlb) that will become a resource in
// ShortController.ocx.

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

[ uuid(DA0662ED-EA81-42E4-BD38-26FD24BC3DF5), version(1.0),
  helpfile("ShortController.hlp"),
  helpstring("ShortController ActiveX Control module"),
  control ]
library SHORTCONTROLLERLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CShortControllerCtrl

	[ uuid(F2FDD385-7FAC-49A4-AA63-D085DBCF11CE),
	  helpstring("Dispatch interface for ShortController Control"), hidden ]
	dispinterface _DShortController
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CShortControllerCtrl)
			[id(1)] OLE_COLOR BackColor;
			[id(2)] OLE_COLOR ForeColor;
			[id(3)] OLE_COLOR FillColor;
			[id(4)] boolean ImageHollow;
			[id(5)] short LineSize;
			[id(6)] boolean OnOff;
			[id(7)] OLE_COLOR TopColor;
			[id(8)] OLE_COLOR BottomColor;
			[id(9)] OLE_COLOR RightColor;
			[id(DISPID_TEXT), bindable, requestedit] BSTR Text;
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CShortControllerCtrl)
			//}}AFX_ODL_METHOD
	};

	//  Event dispatch interface for CShortControllerCtrl

	[ uuid(99B4D19E-7CA0-4F3E-BA7D-C0BF389DDC06),
	  helpstring("Event interface for ShortController Control") ]
	dispinterface _DShortControllerEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CShortControllerCtrl

	[ uuid(66747E7F-669B-4971-8C4F-902D559CDC4D),
	  helpstring("ShortController Control"), control ]
	coclass ShortController
	{
		[default] dispinterface _DShortController;
		[default, source] dispinterface _DShortControllerEvents;
	};


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

⌨️ 快捷键说明

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