?? cards.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 + -