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

📄 cards.odl

📁 此控件有五十四张牌
💻 ODL
字号:
// Cards.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 (Cards.tlb) that will become a resource in
// Cards.ocx.

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

[ uuid(0F968803-D214-11D5-9022-5254AB123A61), version(1.0),
  helpfile("Cards.hlp"),
  helpstring("Cards ActiveX Control module"),
  control ]
library CARDSLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CCardsCtrl

	[ uuid(0F968804-D214-11D5-9022-5254AB123A61),
	  helpstring("Dispatch interface for Cards Control"), hidden ]
	dispinterface _DCards
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CCardsCtrl)
			[id(1)] short value;
			[id(2)] boolean background;
			[id(3)] short backbmp;
			[id(4)] boolean CancelPopup;
			[id(5)] boolean IsMove;
			[id(6)] boolean IsGoHome;
			//}}AFX_ODL_PROP

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

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

	//  Event dispatch interface for CCardsCtrl

	[ uuid(0F968805-D214-11D5-9022-5254AB123A61),
	  helpstring("Event interface for Cards Control") ]
	dispinterface _DCardsEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CCardsCtrl)
			[id(DISPID_CLICK)] void Click();
			[id(DISPID_DBLCLICK)] void DblClick();
			[id(DISPID_MOUSEDOWN)] void MouseDown(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
			[id(DISPID_MOUSEMOVE)] void MouseMove(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
			[id(DISPID_MOUSEUP)] void MouseUp(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
			//}}AFX_ODL_EVENT
	};

	//  Class information for CCardsCtrl

	[ uuid(0F968806-D214-11D5-9022-5254AB123A61),
	  helpstring("Cards Control"), control ]
	coclass Cards
	{
		[default] dispinterface _DCards;
		[default, source] dispinterface _DCardsEvents;
	};


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

⌨️ 快捷键说明

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