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

  1. #ifndef _IFOCSHDR_
  2.   #define _IFOCSHDR_
  3. /*******************************************************************************
  4. * FILE NAME: ifocshdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IFocusHandler                                                            *
  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 <ihandler.hpp>
  19. #include <ictlevt.hpp>
  20.  
  21. #pragma pack(4)
  22.  
  23. class IFocusHandler : public IHandler {
  24. typedef IHandler
  25.   Inherited;
  26.  
  27. public:
  28. /*---------------------------- Constructors ----------------------------------*/
  29.   IFocusHandler        ( );
  30. virtual
  31.  ~IFocusHandler        ( );
  32.  
  33. protected:
  34. /*---------------------------- Event Dispatching -----------------------------*/
  35. virtual Boolean
  36.   dispatchHandlerEvent ( IEvent& event );
  37.  
  38. /*----------------------------- Event Processing -----------------------------*/
  39. virtual Boolean
  40.   gotFocus             ( IControlEvent& event ),
  41.   lostFocus            ( IControlEvent& event );
  42. };
  43.  
  44. #pragma pack()
  45.  
  46. #endif /* _IFOCSHDR_ */
  47.