Meter.odl
资源名称:组态王6.5源代码.rar [点击查看]
上传用户:seaboy_04
上传日期:2013-02-24
资源大小:284k
文件大小:2k
源码类别:
其他行业
开发平台:
Visual C++
- // Meter.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 (Meter.tlb) that will become a resource in
- // Meter.ocx.
- #include <olectl.h>
- #include <idispids.h>
- [ uuid(15491A62-5B63-11D5-ADD3-001088AB5D33), version(1.0),
- helpfile("Meter.hlp"),
- helpstring("Meter ActiveX Control module"),
- control ]
- library METERLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
- // Primary dispatch interface for CwyMeterCtrl
- [ uuid(15491A63-5B63-11D5-ADD3-001088AB5D33),
- helpstring("Dispatch interface for wyMeter Control"), hidden ]
- dispinterface _DwyMeter
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CwyMeterCtrl)
- //}}AFX_ODL_PROP
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CwyMeterCtrl)
- [id(8)] void SetCurrentValue(double val);
- //}}AFX_ODL_METHOD
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
- // Event dispatch interface for CwyMeterCtrl
- [ uuid(15491A64-5B63-11D5-ADD3-001088AB5D33),
- helpstring("Event interface for wyMeter Control") ]
- dispinterface _DwyMeterEvents
- {
- properties:
- // Event interface has no properties
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CwyMeterCtrl)
- //}}AFX_ODL_EVENT
- };
- // Class information for CwyMeterCtrl
- [ uuid(15491A65-5B63-11D5-ADD3-001088AB5D33),
- helpstring("wyMeter Control"), control ]
- coclass wyMeter
- {
- [default] dispinterface _DwyMeter;
- [default, source] dispinterface _DwyMeterEvents;
- };
- //{{AFX_APPEND_ODL}}
- //}}AFX_APPEND_ODL}}
- };