# ShowMenu [v1.2]

Author: majkinetor Last Modified: 20071130

This is just very convinient way to build menus from the text variable(s). Perfect for any kind of application, from those having single menu to those having dozens of them. You can basicly store all your application menus in single file, and even let the user change that file for run-time menu customization. - majkinetor

ShowMenu( mDef, mnu="", sub="", sep="`n", r=0 )
ShowMenu_Data(mDef, item="")

For more details of the functions's parameters and return value, please see it's source code.

#### Remarks

This library comes without an external documentation, but everything is documented in the source file.
Joy2DWorld made a modification of this script:
o http://www.autohotkey.com/forum/viewtopic.php?p=163137#163137

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?t=23138

#### License

nonexistent

#### Example

    ; #Include ShowMenu.ahk
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%

    ShowMenu("[MyMenu]`nitem1`nitem2`n-`nitem3")
    return

    MyMenu:
       MsgBox %A_ThisMenuItem%
    return