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

  1. #ifndef _IMNDIEVT_
  2. #define _IMNDIEVT_
  3. /*******************************************************************************
  4. * FILE NAME: imndievt.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IMenuDrawItemEvent                                                       *
  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 <idievt.hpp>
  19.  
  20. class IMenuDrawItemHandler;
  21.  
  22. #pragma pack(4)
  23.  
  24. class IMenuDrawItemEvent : public IDrawItemEvent {
  25. typedef IDrawItemEvent
  26.   Inherited;
  27. public:
  28. /*------------------------------- Constructors -------------------------------*/
  29.   IMenuDrawItemEvent ( IEvent& event );
  30. virtual
  31.  ~IMenuDrawItemEvent ( );
  32.  
  33. /*--------------------------- Menu Item Attributes ---------------------------*/
  34. Boolean
  35.   isSelected ( ) const,
  36.   isChecked  ( ) const,
  37.   isDisabled ( ) const;
  38.  
  39. private:
  40. /*--------------------------------- Private ----------------------------------*/
  41. friend IMenuDrawItemHandler;
  42.  
  43. Boolean
  44.   isDrawItem        ( ) const,
  45.   isSetHighlight    ( ) const,
  46.   isRemoveHighlight ( ) const;
  47. }; // IMenuDrawItemEvent
  48.  
  49. #pragma pack()
  50.  
  51. #endif /* _IMNDIEVT_ */
  52.