home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / ICLUI / MLE / AUWMHDR.CPP < prev    next >
Text File  |  1993-05-12  |  2KB  |  30 lines

  1. /******************************************************************************/
  2. /* Multi-Line Entry Field Sample Program (User Message Handler)               */
  3. /*                                                                            */
  4. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. */
  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. /* NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          */
  16. /******************************************************************************/
  17.  
  18. #include "auwmhdr.hpp"
  19.  
  20. /******************************************************************************/
  21. /* AUserMessageHandler::dispatchHandlerEvent - catch user events              */
  22. /******************************************************************************/
  23. Boolean AUserMessageHandler::dispatchHandlerEvent( IEvent& evt )
  24. {
  25.   if ( evt.eventId() == userMessageId )
  26.     return userMessage( evt );
  27.  
  28.   return false;
  29. }  /* end  AUserMessageHandler::dispatchHandlerEvent(...)  */
  30.