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

  1. // DaoEdit.odl : type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (DaoEdit.tlb) that will become a resource in
  5. // DaoEdit.ocx.
  6.  
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1998 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and related
  13. // electronic documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(5FDFC3E0-C360-11CE-A987-00AA006EA4DA), version(1.0),
  20.   helpstring("DaoEdit OLE Custom Control module"), control ]
  21. library DAOEDITLib
  22. {
  23.     importlib(STDOLE_TLB);
  24.     importlib(STDTYPE_TLB);
  25.  
  26.     //  Primary dispatch interface for CDaoEditCtrl
  27.  
  28.     [ uuid(5FDFC3E1-C360-11CE-A987-00AA006EA4DA),
  29.       helpstring("Dispatch interface for DaoEdit Control"), hidden ]
  30.     dispinterface _DDaoEdit
  31.     {
  32.         properties:
  33.             // NOTE - ClassWizard will maintain property information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_PROP(CDaoEditCtrl)
  36.             [id(DISPID_TEXT), bindable, requestedit, displaybind, defaultbind] BSTR Text;
  37.             [id(0)] BSTR _Text;
  38.             [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  39.             [id(1)] BSTR FieldName;
  40.             //}}AFX_ODL_PROP
  41.  
  42.         methods:
  43.             // NOTE - ClassWizard will maintain method information here.
  44.             //    Use extreme caution when editing this section.
  45.             //{{AFX_ODL_METHOD(CDaoEditCtrl)
  46.             //}}AFX_ODL_METHOD
  47.  
  48.             [id(DISPID_ABOUTBOX)] void AboutBox();
  49.     };
  50.  
  51.     //  Event dispatch interface for CDaoEditCtrl
  52.  
  53.     [ uuid(5FDFC3E2-C360-11CE-A987-00AA006EA4DA),
  54.       helpstring("Event interface for DaoEdit Control") ]
  55.     dispinterface _DDaoEditEvents
  56.     {
  57.         properties:
  58.             //  Event interface has no properties
  59.  
  60.         methods:
  61.             // NOTE - ClassWizard will maintain event information here.
  62.             //    Use extreme caution when editing this section.
  63.             //{{AFX_ODL_EVENT(CDaoEditCtrl)
  64.             //}}AFX_ODL_EVENT
  65.     };
  66.  
  67.     //  Class information for CDaoEditCtrl
  68.  
  69.     [ uuid(5FDFC3E3-C360-11CE-A987-00AA006EA4DA),
  70.       helpstring("DaoEdit Control"), control ]
  71.     coclass DaoEdit
  72.     {
  73.         [default] dispinterface _DDaoEdit;
  74.         [default, source] dispinterface _DDaoEditEvents;
  75.     };
  76.  
  77.  
  78.     //{{AFX_APPEND_ODL}}
  79. };
  80.