home *** CD-ROM | disk | FTP | other *** search
- // Calen.odl : type library source for OLE Control project.
-
- // This file will be processed by the Make Type Library (mktyplib) tool to
- // produce the type library (Calen.tlb) that will become a resource in
- // Calen.ocx.
-
- #include <olectl.h>
-
- [ uuid(F0464DD0-0D57-11CF-B4CD-0080C81A397C), version(1.0),
- helpstring("Calen OLE Control module"), control ]
- library CALENLib
- {
- importlib(STDOLE_TLB);
- importlib(STDTYPE_TLB);
-
- // Primary dispatch interface for CCalenCtrl
-
- [ uuid(F0464DD1-0D57-11CF-B4CD-0080C81A397C),
- helpstring("Dispatch interface for Calen Control"), hidden ]
- dispinterface _DCalen
- {
- properties:
- // NOTE - ClassWizard will maintain property information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_PROP(CCalenCtrl)
- [id(1)] short Year;
- [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
- [id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
- [id(2)] short CtrlBorderStyle;
- [id(3)] OLE_COLOR BorderRiseColor;
- [id(4)] OLE_COLOR BorderFallColor;
- [id(5)] OLE_COLOR BorderNormalColor;
- [id(6)] boolean ThreeD;
- [id(DISPID_FONT), bindable] IFontDisp* Font;
- [id(12)] IFontDisp* DayFont;
- [id(13)] short Day;
- [id(14)] short Month;
- [id(7)] OLE_COLOR SelectedDayColor;
- [id(8)] OLE_COLOR DayColor;
- [id(9)] short DayBorderStyle;
- [id(10)] OLE_COLOR DayRiseColor;
- [id(11)] OLE_COLOR DayFallColor;
- //}}AFX_ODL_PROP
-
- methods:
- // NOTE - ClassWizard will maintain method information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_METHOD(CCalenCtrl)
- [id(15)] boolean SetDate(short month, short day, short year);
- //}}AFX_ODL_METHOD
-
- [id(DISPID_ABOUTBOX)] void AboutBox();
- };
-
- // Event dispatch interface for CCalenCtrl
-
- [ uuid(F0464DD2-0D57-11CF-B4CD-0080C81A397C),
- helpstring("Event interface for Calen Control") ]
- dispinterface _DCalenEvents
- {
- properties:
- // Event interface has no properties
-
- methods:
- // NOTE - ClassWizard will maintain event information here.
- // Use extreme caution when editing this section.
- //{{AFX_ODL_EVENT(CCalenCtrl)
- [id(DISPID_CLICK)] void Click();
- [id(1)] void Select(short Day);
- //}}AFX_ODL_EVENT
- };
-
- // Class information for CCalenCtrl
-
- [ uuid(F0464DD3-0D57-11CF-B4CD-0080C81A397C),
- helpstring("Calen Control"), control ]
- coclass Calen
- {
- [default] dispinterface _DCalen;
- [default, source] dispinterface _DCalenEvents;
- };
-
-
- //{{AFX_APPEND_ODL}}
- };
-