Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
MenuItem( [Owner][, Caption$][, Shortcut$][, Icon$][, AllowCheck][, Checked][, GroupID] )

 Parameters
Owner - Owner of the menu item.. this should be a menu title or a menu item (for sub-menus)
Caption$ - The visible name of the menu item
ShortCut$ - Displays a keyboard shortcut for this menu item
Icon$ - An optional icon displayed in the left strip (Can be an image filename or a loaded image handle)
AllowCheck - Specifies if the menu item can be checked
Checked - Set to true to make the menu item start checked
GroupID - Similar to radio buttons, menu items can also be grouped

 Description
A Menu item is what you see when you open a menu title. Common examples include New, Open, Save, Save As, Exit, Undo, Redo and Select All.
Menu Items can be created as sub menus by specifying another menu item as the Owner instead of a menu title.

 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" )
mnuFileSave = MenuItem( mnuFile, "Save", "Ctrl+S" )
mnuFileExit = MenuItem( mnuFile, "Exit" )
mnuEdit = MenuTitle( "Edit" )
mnuEditUndo = MenuItem( mnuEdit, "Undo", "Ctrl+Z" )
mnuEditRedo = MenuItem( mnuEdit, "Redo", "Ctrl+Y" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End