home *** CD-ROM | disk | FTP | other *** search
- // timer.odl : type library source for OLE Custom Control project.
-
- // This file will be processed by the Make Type Library (mktyplib) tool to
- // produce the type library (timer.tlb) that will become a resource in
- // timer.ocx.
-
- #include <olectl.h>
-
- [ uuid(56E0B3B3-1784-11CE-960F-524153480005), version(1.0),
- helpstring("Timer OLE Custom Control module") ]
- library TimerLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- // Primary dispatch interface for CTimerCtrl
-
- [ uuid(56E0B3B1-1784-11CE-960F-524153480005),
- helpstring("Dispatch interface for Timer Control") ]
- dispinterface _DTimer
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CTimerCtrl)
- [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
- [id(1)] short Interval;
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CTimerCtrl)
- //}}AFX_ODL_METHOD
-
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
-
- // Event dispatch interface for CTimerCtrl
-
- [ uuid(56E0B3B2-1784-11CE-960F-524153480005),
- helpstring("Event interface for Timer Control") ]
- dispinterface _DTimerEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CTimerCtrl)
- [id(1)] void Timer();
- //}}AFX_ODL_EVENT
- };
-
- // Class information for CTimerCtrl
-
- [ uuid(56E0B3B0-1784-11CE-960F-524153480005), licensed,
- helpstring("Timer Control") ]
- coclass Timer
- {
- [default] dispinterface _DTimer;
- [default, source] dispinterface _DTimerEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- };
-