📄 celineargauge.odl
字号:
// CELinearGauge.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 (CELinearGauge.tlb) that will become a resource in
// CELinearGauge.ocx.
#include <olectl.h>
[ uuid(F211B3E3-C4F0-4FEC-A10F-57E740986EB2), version(1.0),
helpfile("helpfile.htm"),
helpstring("CELinearGauge ActiveX Control module"),
control ]
library CELINEARGAUGELib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CCELinearGaugeCtrl
[ uuid(3313BCD5-D23C-4B5A-990A-D457464F52CE),
helpstring("Dispatch interface for CELinearGauge Control"), hidden ]
dispinterface _DCELinearGauge
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CCELinearGaugeCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CCELinearGaugeCtrl)
[id(1)] long SetCount(long count);
[id(2)] long SetCountEx(long row, long col);
[id(3)] long SetCellStyle(long index, long style, long orientation, long rulerStyle);
[id(4)] long SetCellStyleEx(long row, long col, long style, long orientation, long rulerstyle);
[id(5)] long SetCellFrame(long index, OLE_COLOR frameColor, OLE_COLOR bkColor);
[id(6)] long SetCellFrameEx(long row, long col, OLE_COLOR frameColor, OLE_COLOR bkColor);
[id(7)] long SetCellRulerEx(long row, long col, long max, long min, long majortics, long minortics, OLE_COLOR majorticsColor, OLE_COLOR minorticsColor, OLE_COLOR rulerFontColor);
[id(8)] long SetCellValueCount(long index, long Count);
[id(9)] long SetCellValueCountEx(long row, long col, short count);
[id(10)] long SetCellValueFrame(long index, long valueIndex, OLE_COLOR valueframeColor, OLE_COLOR valuebkColor, double value);
[id(11)] long SetCellValueFrameEx(long row, long col, long valueIndex, OLE_COLOR valueframeColor, OLE_COLOR valuebkColor, double value);
[id(12)] long SetCellRuler(long index, long max, long min, long majortics, long minortics, OLE_COLOR majorticsColor, OLE_COLOR minorticsColor, OLE_COLOR rulerFontColor);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CCELinearGaugeCtrl
[ uuid(96864045-8115-43F8-AA19-9C21ABC3C27F),
helpstring("Event interface for CELinearGauge Control") ]
dispinterface _DCELinearGaugeEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CCELinearGaugeCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CCELinearGaugeCtrl
[ uuid(13F7501F-F240-45BF-B082-E0962F4FBBB3),
helpstring("CELinearGauge Control"), control ]
coclass CELinearGauge
{
[default] dispinterface _DCELinearGauge;
[default, source] dispinterface _DCELinearGaugeEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -