home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / toolba.zip / AMMVEHDR.HPP < prev    next >
Text File  |  1994-09-05  |  2KB  |  37 lines

  1. /************************************************************************
  2. * AMMveHdr.hpp - mouse move handler class header                        *
  3. * --------------------------------------------------------------------- *
  4. * Override IHandler class in order to capture mouse move messages for   *
  5. * control windows.  These can be used to generate micro-help requests.  *
  6. * --------------------------------------------------------------------- *
  7. * Overridden methods:                                                   *
  8. *                                                                       *
  9. * Boolean dispatchHandlerEvent - process messages to the window being   *
  10. *                                handled.  The method is overridded in  *
  11. *                                order to intercept the mouse move      *
  12. *                                message specifically.                  *
  13. *                                                                       *
  14. * Protected methods: -------------------------------------------------- *
  15. *                                                                       *
  16. * Boolean motion -               process mouse move message.            *
  17. *                                                                       *
  18. ************************************************************************/
  19.  
  20. #ifndef _AMMVEHDR_HPP
  21. #define _AMMVEHDR_HPP
  22.  
  23. #include <ihandler.hpp>
  24.  
  25. class AMouseMoveHandler : public IHandler
  26. {
  27. public:
  28.    Boolean dispatchHandlerEvent( IEvent &evt );
  29.  
  30. protected:
  31.    virtual Boolean motion( IEvent &evt );
  32.  
  33. private:
  34. };
  35.  
  36. #endif /* _AMMVEHDR_HPP_ not defined */
  37.