home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / idievt.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.2 KB  |  61 lines

  1. #ifndef _IDIEVT_
  2. #define _IDIEVT_
  3. /*******************************************************************************
  4. * FILE NAME: idievt.hpp                                                        *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IDrawItemEvent                                                           *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #include <ictlevt.hpp>
  19.  
  20. class IPresSpaceHandle;
  21. class IRectangle;
  22.  
  23. #pragma pack(4)
  24.  
  25. class IDrawItemEvent : public IControlEvent {
  26. typedef IControlEvent
  27.   Inherited;
  28. public:
  29. /*------------------------------- Constructors -------------------------------*/
  30.   IDrawItemEvent ( const IEvent& event );
  31.  
  32. virtual
  33.  ~IDrawItemEvent ( );
  34.  
  35. /*----------------------------- Item Information -----------------------------*/
  36. virtual IPresSpaceHandle
  37.   itemPresSpaceHandle ( ) const;
  38.  
  39. virtual unsigned long
  40.   itemId              ( ) const;
  41.  
  42. virtual IRectangle
  43.   itemRect            ( ) const;
  44.  
  45. protected:
  46. /*------------------------------ Implementation ------------------------------*/
  47. void
  48.  *ownerItemData ( ) const;
  49.  
  50. private:
  51. /*--------------------------------- Private ----------------------------------*/
  52. void
  53.  *pvOwnerItem;
  54. }; // IDrawItemEvent
  55.  
  56. #pragma pack()
  57.  
  58.   #include <idievt.inl>
  59.  
  60. #endif /* _IDIEVT_ */
  61.