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

📄 grounding.odl

📁 VC写的ActiveX控件源码
💻 ODL
字号:
// grounding.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 (grounding.tlb) that will become a resource in
// grounding.ocx.

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

[ uuid(C01B0C55-0F7E-4DF2-9689-F025C73A8109), version(1.0),
  helpfile("grounding.hlp"),
  helpstring("grounding ActiveX Control module"),
  control ]
library GROUNDINGLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CGroundingCtrl

	[ uuid(49EF4D76-2ACB-4EBC-8320-DBA41EF4A234),
	  helpstring("Dispatch interface for Grounding Control"), hidden ]
	dispinterface _DGrounding
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CGroundingCtrl)
			[id(1)] OLE_COLOR BackColor;
			[id(2)] OLE_COLOR ForeColor;
			[id(3)] boolean ImageHollow;
			[id(4)] short LineSize;
			[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(CGroundingCtrl)
			//}}AFX_ODL_METHOD
	};

	//  Event dispatch interface for CGroundingCtrl

	[ uuid(806515C2-29C3-4753-823C-B4B5B5EDB991),
	  helpstring("Event interface for Grounding Control") ]
	dispinterface _DGroundingEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CGroundingCtrl

	[ uuid(81B02568-D002-4F27-837D-41B7C2016A2B),
	  helpstring("Grounding Control"), control ]
	coclass Grounding
	{
		[default] dispinterface _DGrounding;
		[default, source] dispinterface _DGroundingEvents;
	};


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

⌨️ 快捷键说明

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