home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 25 / CDROM25.iso / Share / prog / Taller / reloj.exe / reloj.odl < prev    next >
Encoding:
Microsoft Object Description Language  |  1997-07-29  |  2.2 KB  |  78 lines

  1. // reloj.odl : type library source for ActiveX Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (reloj.tlb) that will become a resource in
  5. // reloj.ocx.
  6.  
  7. #include <olectl.h>
  8. #include <idispids.h>
  9.  
  10. [ uuid(1F9998EA-082F-11D1-AF87-004033CA77BD), version(1.0),
  11.   helpfile("reloj.hlp"),
  12.   helpstring("reloj ActiveX Control module"),
  13.   control ]
  14. library RELOJLib
  15. {
  16.     importlib(STDOLE_TLB);
  17.     importlib(STDTYPE_TLB);
  18.  
  19.     //  Primary dispatch interface for CRelojCtrl
  20.  
  21.     [ uuid(1F9998EB-082F-11D1-AF87-004033CA77BD),
  22.       helpstring("Dispatch interface for Reloj Control"), hidden ]
  23.     dispinterface _DReloj
  24.     {
  25.         properties:
  26.             // NOTE - ClassWizard will maintain property information here.
  27.             //    Use extreme caution when editing this section.
  28.             //{{AFX_ODL_PROP(CRelojCtrl)
  29.             [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
  30.             [id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
  31.             [id(1)] long IntervaloActualizacion;
  32.             //}}AFX_ODL_PROP
  33.  
  34.         methods:
  35.             // NOTE - ClassWizard will maintain method information here.
  36.             //    Use extreme caution when editing this section.
  37.             //{{AFX_ODL_METHOD(CRelojCtrl)
  38.             [id(DISPID_REFRESH)] void Refresh();
  39.             [id(2)] void Beep();
  40.             //}}AFX_ODL_METHOD
  41.  
  42.             [id(DISPID_ABOUTBOX)] void AboutBox();
  43.     };
  44.  
  45.     //  Event dispatch interface for CRelojCtrl
  46.  
  47.     [ uuid(1F9998EC-082F-11D1-AF87-004033CA77BD),
  48.       helpstring("Event interface for Reloj Control") ]
  49.     dispinterface _DRelojEvents
  50.     {
  51.         properties:
  52.             //  Event interface has no properties
  53.  
  54.         methods:
  55.             // NOTE - ClassWizard will maintain event information here.
  56.             //    Use extreme caution when editing this section.
  57.             //{{AFX_ODL_EVENT(CRelojCtrl)
  58.             [id(DISPID_CLICK)] void Click();
  59.             [id(DISPID_DBLCLICK)] void DblClick();
  60.             [id(1)] void NuevoMinuto();
  61.             //}}AFX_ODL_EVENT
  62.     };
  63.  
  64.     //  Class information for CRelojCtrl
  65.  
  66.     [ uuid(9C6022A4-CB07-11D0-AF87-004033CA77BD),
  67.       helpstring("Reloj Control"), control ]
  68.     coclass Reloj
  69.     {
  70.         [default] dispinterface _DReloj;
  71.         [default, source] dispinterface _DRelojEvents;
  72.     };
  73.  
  74.  
  75.     //{{AFX_APPEND_ODL}}
  76.     //}}AFX_APPEND_ODL}}
  77. };
  78.