home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ool_main.zip / ool / include / xmenubar.h < prev    next >
Text File  |  1997-08-12  |  1KB  |  37 lines

  1. #ifndef __OOL_XMENUBAR_H__
  2. #define __OOL_XMENUBAR_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XMenuBar                              */
  8. /*                       derived from: XMenu                                 */
  9. /*                        last update: 12/96                                 */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xmenu.h"
  14.  
  15. class XFrameWindow;
  16. class XDialog;
  17. class XResource;
  18. class XResourceLibrary;
  19.  
  20. class _export_ XMenuBar: public XMenu{
  21.       friend void BuildChilds( HWND );
  22.       friend XFrameWindow;
  23.    private:
  24.       XMenuBar( const LONG hwnd);
  25.       void CreateMenu( const OOL_WINDOWHANDLE, const ULONG id, const XResourceLibrary*);
  26.    public:
  27.       XMenuBar( const XFrameWindow *, const XResource*);
  28.       XMenuBar( const XFrameWindow *, const ULONG);
  29.       XMenuBar( const XDialog *, const XResource*);
  30.       XMenuBar( const XDialog *, const ULONG);
  31.       virtual ~XMenuBar();
  32.       void Show( const BOOL show = TRUE);
  33. };
  34.  
  35.  
  36. #endif
  37.