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

📄 bull.odl

📁 讲mfc的书
💻 ODL
字号:
// bull.odl : type library source for OLE Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (bull.tlb) that will become a resource in
// bull.ocx.

#include <olectl.h>

[ uuid(59E8A900-E0C6-11CF-A7B2-444553540000), version(1.0),
  helpstring("bull OLE Control module"), control ]
library BULLLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CBullCtrl

	[ uuid(59E8A901-E0C6-11CF-A7B2-444553540000),
	  helpstring("Dispatch interface for Bull Control"), hidden ]
	dispinterface _DBull
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CBullCtrl)
			[id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
			[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
			[id(1)] short Step;
			//}}AFX_ODL_PROP

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

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

	//  Event dispatch interface for CBullCtrl

	[ uuid(59E8A902-E0C6-11CF-A7B2-444553540000),
	  helpstring("Event interface for Bull Control") ]
	dispinterface _DBullEvents
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CBullCtrl

	[ uuid(59E8A903-E0C6-11CF-A7B2-444553540000),
	  helpstring("Bull Control"), control ]
	coclass Bull
	{
		[default] dispinterface _DBull;
		[default, source] dispinterface _DBullEvents;
	};


	//{{AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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