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

📄 displayparameter.odl

📁 vc写的用于显示多行字符串数据的控件
💻 ODL
字号:
// DisplayParameter.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 (DisplayParameter.tlb) that will become a resource in
// DisplayParameter.ocx.

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

[ uuid(B5C961EF-AE6A-49FD-A129-07304DC6BACE), version(1.0),
  helpfile("DisplayParameter.hlp"),
  helpstring("DisplayParameter ActiveX Control module"),
  control ]
library DISPLAYPARAMETERLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CDisplayParameterCtrl

	[ uuid(1DA8B3D7-876F-4152-8F8F-404BA82FCF02),
	  helpstring("Dispatch interface for DisplayParameter Control"), hidden ]
	dispinterface _DDisplayParameter
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CDisplayParameterCtrl)
			[id(DISPID_TEXT), bindable, requestedit] BSTR Text;
			[id(1)] OLE_COLOR ForeColor;
			[id(2)] short LineSize;
			[id(3)] BSTR Ia;
			[id(4)] BSTR Ib;
			[id(5)] BSTR Ic;
			[id(6)] BSTR In;
			[id(7)] BSTR Kw;
			[id(8)] BSTR Kvar;
			[id(9)] BSTR Cos;
			[id(10)] BSTR Ua;
			[id(11)] BSTR Ub;
			[id(12)] BSTR Uc;
			[id(13)] BSTR Uab;
			[id(14)] BSTR Ubc;
			[id(15)] BSTR Uca;
			[id(16)] BSTR Bs1;
			[id(17)] BSTR Bs2;
			[id(18)] BSTR DisplayOrder;
			[id(19)] OLE_COLOR BackColor;
			[id(20)] boolean ImageHollow;
			[id(21)] OLE_COLOR FillColor;
			[id(22)] short LineDistance;
			[id(23)] short FontHeight;
			[id(24)] short FontWidth;
			[id(25)] short FontEscapement;
			[id(26)] short FontOrientation;
			[id(27)] short FontWeight;
			[id(28)] short FontItalic;
			[id(29)] short FontUnderline;
			[id(30)] short FontStrikeOut;
			[id(31)] short FontCharSet;
			[id(32)] short FontOutPrecision;
			[id(33)] short FontClipPrecision;
			[id(34)] short FontQuality;
			[id(35)] short FontPitchAndFamily;
			[id(36)] BSTR FontName;
			//}}AFX_ODL_PROP

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

	//  Event dispatch interface for CDisplayParameterCtrl

	[ uuid(6F6156FB-C096-4967-9016-3D97E420C007),
	  helpstring("Event interface for DisplayParameter Control") ]
	dispinterface _DDisplayParameterEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CDisplayParameterCtrl

	[ uuid(C449F75D-730D-47E8-95FE-3B0E414CFA6F),
	  helpstring("DisplayParameter Control"), control ]
	coclass DisplayParameter
	{
		[default] dispinterface _DDisplayParameter;
		[default, source] dispinterface _DDisplayParameterEvents;
	};


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

⌨️ 快捷键说明

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