home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / controls / testhelp / testhelp.odl < prev    next >
Text File  |  1998-03-26  |  3KB  |  87 lines

  1. // This is part of the Microsoft Foundation Classes C++ Library.
  2. // Copyright (C) 1992-1997 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. // testhelp.odl : type library source for OLE Control project.
  12.  
  13. // This file will be processed by the Make Type Library (mktyplib) tool to
  14. // produce the type library (testhelp.tlb) that will become a resource in
  15. // testhelp.ocx.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(31A2B280-8C11-11Cf-B37F-00AA00B92B50), version(1.0),
  20.   helpstring("testhelp OLE Control module"), helpfile("testhelp.hlp"),control ]
  21. library TESTHELPLib
  22. {
  23.     importlib(STDOLE_TLB);
  24.     importlib(STDTYPE_TLB);
  25.  
  26.     //  Primary dispatch interface for CTesthelpCtrl
  27.  
  28.     [ uuid(31A2B281-8C11-11Cf-B37F-00AA00B92B50),
  29.       helpstring("Dispatch interface for Testhelp Control"), hidden ]
  30.     dispinterface _DTesthelp
  31.     {
  32.         properties:
  33.             // NOTE - ClassWizard will maintain property information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_PROP(CTesthelpCtrl)
  36.             [id(DISPID_FONT), bindable] IFontDisp* Font;
  37.             [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
  38.             [id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor;
  39.             [id(1)] BSTR Name1;
  40.             [id(2)] BSTR Name2;
  41.             [id(3)] BSTR Name3;
  42.             [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  43.             [id(4)] boolean UseMyHelp;
  44.             [id(5)] boolean ShowToolTip;
  45.             [id(6)] BSTR ToolTipText;
  46.             [id(7)] short UsePopupHelp;
  47.             //}}AFX_ODL_PROP
  48.  
  49.         methods:
  50.             // NOTE - ClassWizard will maintain method information here.
  51.             //    Use extreme caution when editing this section.
  52.             //{{AFX_ODL_METHOD(CTesthelpCtrl)
  53.             //}}AFX_ODL_METHOD
  54.  
  55.             [id(DISPID_ABOUTBOX)] void AboutBox();
  56.     };
  57.  
  58.     //  Event dispatch interface for CTesthelpCtrl
  59.  
  60.     [ uuid(31A2B282-8C11-11Cf-B37F-00AA00B92B50),
  61.       helpstring("Event interface for Testhelp Control") ]
  62.     dispinterface _DTesthelpEvents
  63.     {
  64.         properties:
  65.             //  Event interface has no properties
  66.  
  67.         methods:
  68.             // NOTE - ClassWizard will maintain event information here.
  69.             //    Use extreme caution when editing this section.
  70.             //{{AFX_ODL_EVENT(CTesthelpCtrl)
  71.             //}}AFX_ODL_EVENT
  72.     };
  73.  
  74.     //  Class information for CTesthelpCtrl
  75.  
  76.     [ uuid(31A2B283-8C11-11CF-B37F-00AA00B92B50),
  77.       helpstring("Testhelp Control"), helpcontext(0x20064),control ]
  78.     coclass Testhelp
  79.     {
  80.         [default] dispinterface _DTesthelp;
  81.         [default, source] dispinterface _DTesthelpEvents;
  82.     };
  83.  
  84.  
  85.     //{{AFX_APPEND_ODL}}
  86. };
  87.