home *** CD-ROM | disk | FTP | other *** search
/ Delphi Anthology / aDELPHI.iso / ActiveX / InaGrid_v2.0_32bit_ActiveX-FCN / data1.cab / InaEdit / InaEdit.odl < prev    next >
Text File  |  1999-07-19  |  2KB  |  74 lines

  1. // InaEdit.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 (InaEdit.tlb) that will become a resource in
  5. // InaEdit.ocx.
  6.  
  7. #include <olectl.h>
  8. #include <idispids.h>
  9.  
  10. [ uuid(73F8E94A-692C-11D1-951E-00A024834FE6), version(2.0),
  11.   helpfile("InaGrid.hlp"),
  12.   helpstring("InaEdit ActiveX Control module"),
  13.   control ]
  14. library INAEDITLib
  15. {
  16.     importlib(STDOLE_TLB);
  17.     importlib(STDTYPE_TLB);
  18.  
  19.     //  Primary dispatch interface for CEditControl
  20.  
  21.     [ uuid(73F8E94B-692C-11D1-951E-00A024834FE6),
  22.       helpstring("Dispatch interface for GridEdit Control"), hidden ]
  23.     dispinterface IGridEdit
  24.     {
  25.         properties:
  26.             // NOTE - ClassWizard will maintain property information here.
  27.             //    Use extreme caution when editing this section.
  28.             //{{AFX_ODL_PROP(CEditControl)
  29.             [id(1)] long WindowStyle;
  30.             [id(DISPID_CAPTION)] BSTR Caption;
  31.             [id(DISPID_HWND)] OLE_HANDLE hWnd;
  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(CEditControl)
  38.             [id(2)] boolean RecreateControl();
  39.             //}}AFX_ODL_METHOD
  40.     };
  41.  
  42.     //  Event dispatch interface for CEditControl
  43.  
  44.     [ uuid(73F8E94C-692C-11D1-951E-00A024834FE6),
  45.       helpstring("Event interface for GridEdit Control") ]
  46.     dispinterface IGridEditEvents
  47.     {
  48.         properties:
  49.             //  Event interface has no properties
  50.  
  51.         methods:
  52.             // NOTE - ClassWizard will maintain event information here.
  53.             //    Use extreme caution when editing this section.
  54.             //{{AFX_ODL_EVENT(CEditControl)
  55.             [id(1)] void OnNoFocus();
  56.             [id(DISPID_KEYDOWN)] void KeyDown(short* KeyCode, short Shift);
  57.             //}}AFX_ODL_EVENT
  58.     };
  59.  
  60.     //  Class information for CEditControl
  61.  
  62.     [ uuid(73F8E94D-692C-11D1-951E-00A024834FE6),
  63.       helpstring("GridEdit Control"), helpcontext(4), control ]
  64.     coclass GridEdit
  65.     {
  66.         [default] dispinterface IGridEdit;
  67.         [default, source] dispinterface IGridEditEvents;
  68.     };
  69.  
  70.  
  71.     //{{AFX_APPEND_ODL}}
  72.     //}}AFX_APPEND_ODL}}
  73. };
  74.