home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / extlib / valueset / vsetevt.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  1.6 KB  |  48 lines

  1. #ifndef _VSETEVT_
  2. #define _VSETEVT_
  3. //************************************************************
  4. // Extending the Library - Value Set Example
  5. //
  6. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  7. // All Rights Reserved.
  8. //************************************************************
  9.  
  10. #ifndef _ICTLEVT_
  11.   #include <ictlevt.hpp>
  12. #endif
  13.  
  14. class IPoint;
  15. class ValueSet;
  16.  
  17. class ValueSetEvent : public IControlEvent {
  18. typedef IEvent
  19.   Inherited;
  20. /*******************************************************************************
  21. * Objects of this class represent value set control notification events.       *
  22. * IN addition to the inherited behavior of generic events, ValueSetEvent       *
  23. * objects also return the appropriate row/column positions to which the        *
  24. * event relates.                                                               *
  25. *******************************************************************************/
  26. public:
  27. /*------------------------------- Constructor ----------------------------------
  28. | These events are constructed from generic IEvents.                           |
  29. ------------------------------------------------------------------------------*/
  30.   ValueSetEvent ( IEvent &event );
  31.  
  32. /*-------------------------------- Parameters ----------------------------------
  33. | These functions return the various event paraemters.                         |
  34. ------------------------------------------------------------------------------*/
  35. ValueSet
  36.  *valueSet ( ) const;
  37.  
  38. unsigned long
  39.   row    ( ) const,
  40.   column ( ) const;
  41.  
  42. IPoint
  43.   rowAndColumn ( ) const;
  44.  
  45. }; // class ValueSetEvent
  46.  
  47. #endif // _VSETEVT_
  48.