Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
MenuBar( [Owner] )

 Parameters
Owner - Owner of the menu bar.. this should be a menu title or a menu item (for sub-menus)
 Description
A Menu bar is a horizontal bar that divides menu items. Most menus have them and I'm sure if you open a few you will see at least one.
Menu bars aren't interactive in any way.. they just sit there doing nothing. The example shows how they can be used to improve the appearance of menus bu modifying the MenuItem example.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 150, "My Window", 0, True, True )
mnuFile = MenuTitle( "File" )
mnuFileNew = MenuItem( mnuFile, "New", "Ctrl+N" )
mnuFileOpen = MenuItem( mnuFile, "Open...", "Ctrl+O" )
MenuBar( )
mnuFileSave = MenuItem( mnuFile, "Save", "Ctrl+S" )
mnuFileSaveAs = MenuItem( mnuFile, "Save As..." )
MenuBar( )
mnuFileExit = MenuItem( mnuFile, "Exit" )
mnuEdit = MenuTitle( "Edit" )
mnuEditUndo = MenuItem( mnuEdit, "Undo", "Ctrl+Z" )
mnuEditRedo = MenuItem( mnuEdit, "Redo", "Ctrl+Y" )
MenuBar( )
mnuEditSelectAll = MenuItem( mnuEdit, "Select All", "Ctrl+A" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End