home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mle.zip / MLECLKH.HPP < prev    next >
Text File  |  1996-03-21  |  2KB  |  40 lines

  1. #ifndef _MLECLKH_
  2. #define _MLECLKH_
  3. /*******************************************************************************
  4. * MLEMouseClickHandler Class - C++ Header File (mleclkh.hpp)                   *
  5. *                                                                              *
  6. * DISCLAIMER OF WARRANTIES:                                                    *
  7. *    The following [enclosed] code is sample code created by IBM               *
  8. *    Corporation.  This sample code is not part of any standard IBM product    *
  9. *    and is provided to you solely for the purpose of assisting you in the     *
  10. *    development of your applications.  The code is provided "AS IS",          *
  11. *    without warranty of any kind.  IBM shall not be liable for any damages    *
  12. *    arising out of your use of the sample code, even if they have been        *
  13. *    advised of the possibility of such damages.                               *
  14. ********************************************************************************/
  15. #include <imoushdr.hpp>              // IMouseHandler, parent class, which
  16.                                      // indirectly includes IMouseEvent.
  17.  
  18. //forward class references
  19.  
  20. //**************************************************************************
  21. // Class:   MLEMouseClickHandler
  22. //
  23. // Purpose: Used to capture when text has been Clicked for an MLE using
  24. //          the mouse.
  25. //
  26. //**************************************************************************/
  27. class MLEMouseClickHandler : public IMouseHandler
  28. {
  29.  
  30. public:
  31.    MLEMouseClickHandler();
  32.    virtual ~MLEMouseClickHandler();     //destructor
  33.  
  34. protected:
  35.    virtual Boolean mouseClicked(IMouseClickEvent& mouseEvent);
  36.  
  37. };   //MLEMouseClickHandler
  38.  
  39. #endif
  40.