i need help with creating a GUI window with 2 menu options. the challenge here is that i want the menu option page layout to be displayed as soon as the menu option is either highlighted with ALT or by a mouse click.
$file = GuiCtrlCreateMenu("&1file")
$tool = GuiCtrlCreateMenu("&2tool")
$msg = GUIGetMsg()
If $msg = $file Then
if $msg = $tool then
MsgBox(0,"tool test", only tool testing....")
Until $msg = $GUI_EVENT_CLOSE
so basically, i want the file msgbox to be displayed by two methods,
1)after i hit ALT (first menu option is selected by default), the file msgbox will be displayed. when i hit ALT+2 or right arrow key, the msgbox for tool will be displayed.
2)by mouse click on each menu option (file, tool, etc).
Edited by automatic, 11 November 2008 - 05:36 PM.