home *** CD-ROM | disk | FTP | other *** search
- // button.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 (button.tlb) that will become a resource in
- // button.ocx.
-
- #include <olectl.h>
-
- [ uuid(56A2C5A3-240A-11CE-960F-524153480005), version(1.0),
- helpstring("Button OLE Custom Control module") ]
- library ButtonLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- // Primary dispatch interface for CButtonCtrl
-
- [ uuid(56A2C5A1-240A-11CE-960F-524153480005),
- helpstring("Dispatch interface for Button Control") ]
- dispinterface _DButton
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CButtonCtrl)
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CButtonCtrl)
- //}}AFX_ODL_METHOD
-
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
-
- // Event dispatch interface for CButtonCtrl
-
- [ uuid(56A2C5A2-240A-11CE-960F-524153480005),
- helpstring("Event interface for Button Control") ]
- dispinterface _DButtonEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CButtonCtrl)
- [id(DISPID_CLICK)] void Click();
- //}}AFX_ODL_EVENT
- };
-
- // Class information for CButtonCtrl
-
- [ uuid(56A2C5A0-240A-11CE-960F-524153480005),
- helpstring("Button Control") ]
- coclass Button
- {
- [default] dispinterface _DButton;
- [default, source] dispinterface _DButtonEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- };
-