home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / krcls012.zip / KrClass / include / krmenu.hpp < prev    next >
Text File  |  1997-02-11  |  989b  |  35 lines

  1. // Kroni's Classes: Objects for standard OS/2 menues
  2. // (c) 1997 Wolfgang Kronberg
  3. // file: krmenu.hpp
  4.  
  5. // **********************************************************************************************************
  6. //
  7. // defines these classes:
  8. //
  9. //   KrMenuBar               Define a main() function which is independent of the message queue
  10. //
  11. // **********************************************************************************************************
  12.  
  13.  
  14. #ifndef __KRMENU_HPP__
  15. #define __KRMENU_HPP__
  16.  
  17.  
  18. #include <imenubar.hpp>
  19.  
  20.  
  21. class KrMenuBar : public IMenuBar
  22. {
  23.  
  24. public:
  25.  
  26.   KrMenuBar (IFrameWindow *owner, const Style & style = defaultStyle());
  27.                                                  // This constructor is changed to load the correct font
  28.   KrMenuBar (const IResourceId & menuResId, IFrameWindow *owner) : IMenuBar (menuResId, owner) {};
  29.                                                  // This constructor is just forwarded
  30. };
  31.  
  32.  
  33. #endif
  34.  
  35.