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

📄 clarityctrl.odl

📁 大家在有些时候希望自己做的控件是半透明或透明的
💻 ODL
字号:
// ClarityCtrl.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 (ClarityCtrl.tlb) that will become a resource in
// ClarityCtrl.ocx.

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

[ uuid(6F49D8A2-87DA-45FA-B007-2D6D556DECA4), version(1.0),
  helpfile("ClarityCtrl.hlp"),
  helpstring("ClarityCtrl ActiveX Control module"),
  control ]
library CLARITYCTRLLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CClarityCtrlCtrl

	[ uuid(82AF8D17-1AF7-43B5-9E8C-A5E0D9F777B8),
	  helpstring("Dispatch interface for ClarityCtrl Control"), hidden ]
	dispinterface _DClarityCtrl
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CClarityCtrlCtrl)
			//}}AFX_ODL_PROP

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

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

	//  Event dispatch interface for CClarityCtrlCtrl

	[ uuid(5B883B91-DCDE-4002-8D11-AFF36159BD54),
	  helpstring("Event interface for ClarityCtrl Control") ]
	dispinterface _DClarityCtrlEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CClarityCtrlCtrl

	[ uuid(03D8B713-93A0-45BC-B611-28931D728769),
	  helpstring("ClarityCtrl Control"), control ]
	coclass ClarityCtrl
	{
		[default] dispinterface _DClarityCtrl;
		[default, source] dispinterface _DClarityCtrlEvents;
	};


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

⌨️ 快捷键说明

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