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

  1. #ifndef _HELPMENU_
  2. #define _HELPMENU_
  3. //*********************************************************
  4. // Using Help - Help Menu Choices
  5. //
  6. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  7. // Copyright (c) 1997 John Wiley & Sons, Inc.
  8. // All Rights Reserved.
  9. //*********************************************************
  10. #include <icmdhdr.hpp>
  11. #include <iframe.hpp>
  12. #include <imcelcv.hpp>
  13. #include <imenubar.hpp>
  14. #include <ipushbut.hpp>
  15. #include <istattxt.hpp>
  16.  
  17. #include "helpmenu.h"
  18.  
  19. class CommandHandler : public ICommandHandler {
  20. protected:
  21. virtual Boolean
  22.   command ( ICommandEvent& event );
  23. }; // CommandHandler
  24.  
  25. class HelpMenuWindow : public IFrameWindow {
  26. public:
  27.   HelpMenuWindow ( unsigned long id,
  28.                    IWindow*      owner = 0 );
  29. virtual
  30.  ~HelpMenuWindow ( );
  31.  
  32. private:
  33.   HelpMenuWindow ( const HelpMenuWindow& );
  34. HelpMenuWindow
  35.  &operator=      ( const HelpMenuWindow& );
  36. IMenuBar
  37.   menuBar;
  38. IMultiCellCanvas
  39.   canvasClient;
  40. IStaticText
  41.   heading;
  42. IPushButton
  43.  *showSecondaryPB,
  44.   exitPB;
  45. CommandHandler
  46.   cmdHandler;
  47. }; // HelpMenuWindow
  48.  
  49. #endif // _HELPMENU_
  50.