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

  1. #ifndef _ISCRLEVT_
  2.   #define _ISCRLEVT_
  3. /*******************************************************************************
  4. * FILE NAME: iscrlevt.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IScrollEvent                                                             *
  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 <ievent.hpp>
  19.  
  20. class IScrollBar;
  21.  
  22. #pragma pack(4)
  23.  
  24. class IScrollEvent : public IEvent {
  25. typedef IEvent
  26.   Inherited;
  27.  
  28. public:
  29. /*------------------------------- Constructors -------------------------------*/
  30.   IScrollEvent ( const IEvent& event );
  31.  
  32. virtual
  33.  ~IScrollEvent ( );
  34.  
  35. /*-------------------------------- Accessors ---------------------------------*/
  36. IScrollBar*
  37.   scrollBarWindow      ( ) const;
  38. long
  39.   scrollAmount         ( ) const;
  40. unsigned long
  41.   newScrollBoxPosition ( ) const;
  42.  
  43.  
  44. private:
  45. /*--------------------------------- Private ----------------------------------*/
  46. unsigned long
  47.   ulClPrevScrollBoxPos;
  48. };
  49.  
  50.  
  51. #pragma pack()
  52.  
  53. #endif /* _ISCRLEVT_ */
  54.