📄 xgridctrl.odl
字号:
// XGridCtrl.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 (XGridCtrl.tlb) that will become a resource in
// XGridCtrl.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(4BED61C7-1B82-4691-937F-28D550711492), version(1.0),
helpfile("XGridCtrl.hlp"),
helpstring("XGridCtrl ActiveX Control module"),
control ]
library XGRIDCTRLLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CXGridCtrlCtrl
[ uuid(95241CE0-9A35-4615-9E4C-3BC0E08224A4),
helpstring("Dispatch interface for XGridCtrl Control"), hidden ]
dispinterface _DXGridCtrl
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CXGridCtrlCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CXGridCtrlCtrl)
[id(1)] boolean SetBackColor(long color);
[id(2)] boolean SetGHText(BSTR text);
[id(3)] boolean SetGHTextColor(long color);
[id(4)] boolean SetNumColor(long color);
[id(5)] boolean SetGLineColor(long color);
[id(6)] boolean SetGCurveColor(long color);
[id(7)] boolean SetCurveDataA(long* data, long length);
[id(8)] long GetDataWidth();
[id(9)] boolean SetCurveDataOne(long data);
[id(10)] void SetAlarmH(long hight);
[id(11)] void SetAlarmL(long bottom);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CXGridCtrlCtrl
[ uuid(3044D223-58F4-458D-B016-A85F5C228308),
helpstring("Event interface for XGridCtrl Control") ]
dispinterface _DXGridCtrlEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CXGridCtrlCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CXGridCtrlCtrl
[ uuid(AA9642B2-6DD4-49C6-A45F-5083A3FE63A6),
helpstring("XGridCtrl Control"), control ]
coclass XGridCtrl
{
[default] dispinterface _DXGridCtrl;
[default, source] dispinterface _DXGridCtrlEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -