?? sevensegnum.odl
字號:
// SevenSegNum.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 (SevenSegNum.tlb) that will become a resource in
// SevenSegNum.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(5530048D-B3D2-4F07-BE84-E99B15D1E03F), version(1.0),
helpfile("SevenSegNum.hlp"),
helpstring("SevenSegNum ActiveX Control module"),
control ]
library SEVENSEGNUMLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CSevenSegNumCtrl
[ uuid(2CE5402C-E606-48E7-9910-281330DB8F5D),
helpstring("Dispatch interface for SevenSegNum Control"), hidden ]
dispinterface _DSevenSegNum
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CSevenSegNumCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CSevenSegNumCtrl)
[id(1)] void SetValue(short chValue);
[id(2)] void SetBackColor(long Backcolor);
[id(3)] void SetForeColor1(long ForeColor1);
[id(4)] void SetForeColor2(long ForeColor2);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CSevenSegNumCtrl
[ uuid(6814F233-E9B7-4430-B591-B4C049B1B059),
helpstring("Event interface for SevenSegNum Control") ]
dispinterface _DSevenSegNumEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CSevenSegNumCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CSevenSegNumCtrl
[ uuid(61169E8A-2A92-49F2-A315-9DB356D95DFA),
helpstring("SevenSegNum Control"), control ]
coclass SevenSegNum
{
[default] dispinterface _DSevenSegNum;
[default, source] dispinterface _DSevenSegNumEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -