📄 arrow.odl
字号:
// arrow.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 (arrow.tlb) that will become a resource in
// arrow.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(692EFB3C-49B7-41CB-A3BB-3F591F4F2A60), version(1.0),
helpfile("arrow.hlp"),
helpstring("arrow ActiveX Control module"),
control ]
library ARROWLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CArrowCtrl
[ uuid(A98DF514-7360-4717-B0EB-00BFEEB4A425),
helpstring("Dispatch interface for Arrow Control"), hidden ]
dispinterface _DArrow
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CArrowCtrl)
[id(1)] OLE_COLOR BackColor;
[id(2)] OLE_COLOR ForeColor;
[id(3)] short ArrowStyle;
[id(4)] boolean ImageHollow;
[id(5)] short LineSize;
[id(DISPID_TEXT), bindable, requestedit] BSTR Text;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CArrowCtrl)
//}}AFX_ODL_METHOD
};
// Event dispatch interface for CArrowCtrl
[ uuid(663EA94D-96B8-4C82-B3A7-2169A5347E9D),
helpstring("Event interface for Arrow Control") ]
dispinterface _DArrowEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CArrowCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CArrowCtrl
[ uuid(6AE79B89-4496-4CBC-9D1A-3D33529AEC04),
helpstring("Arrow Control"), control ]
coclass Arrow
{
[default] dispinterface _DArrow;
[default, source] dispinterface _DArrowEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -