Jump to content

Gui Main Menu

Recommended Posts


Hey i would like to make a main menu but i have no clue how make it :(

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form2", 405, 120, 191, 120)
$MenuItem2 = GUICtrlCreateMenu("Main menu")
$MenuItem1 = GUICtrlCreateMenu("Settings")
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE


this is the cod, i would like if someone klicks "Settig" there shoud come a other form with a button for example ?

Share this post

Link to post
Share on other sites

Koda supports creating (main and also popup) menus too.

Just place main menu icon on your form and by doubleclick on it open visual menu editor ...

Then Koda will generate apropriate AU3 menu code for you ...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now