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

📄 transformer.odl

📁 一个两接变压器的符号控件
💻 ODL
字号:
// transformer.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 (transformer.tlb) that will become a resource in
// transformer.ocx.

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

[ uuid(A9152364-C04A-4681-8012-0AD918E60974), version(1.0),
  helpfile("transformer.hlp"),
  helpstring("transformer ActiveX Control module"),
  control ]
library TRANSFORMERLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CTransformerCtrl

	[ uuid(A4692F00-4DC3-46B9-94DF-3C0085AE177D),
	  helpstring("Dispatch interface for Transformer Control"), hidden ]
	dispinterface _DTransformer
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CTransformerCtrl)
			[id(1)] OLE_COLOR BackColor;
			[id(2)] OLE_COLOR ForeColor;
			[id(3)] short LineSize;
			[id(4)] short DisplayType;
			[id(5)] boolean ImageHollow;
			[id(6)] OLE_COLOR TopColor;
			[id(7)] OLE_COLOR BottomColor;
			[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(CTransformerCtrl)
			//}}AFX_ODL_METHOD
	};

	//  Event dispatch interface for CTransformerCtrl

	[ uuid(09F03620-5CF2-452B-B7CB-DBCF794A2106),
	  helpstring("Event interface for Transformer Control") ]
	dispinterface _DTransformerEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CTransformerCtrl

	[ uuid(FCA13846-8289-47B2-A2D4-8B8335ECFCD9),
	  helpstring("Transformer Control"), control ]
	coclass Transformer
	{
		[default] dispinterface _DTransformer;
		[default, source] dispinterface _DTransformerEvents;
	};


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

⌨️ 快捷键说明

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