Jump to content

GUI file menu/submenu

Recommended Posts


$MenuFile = GUICtrlCreateMenu("File")
$MenuGenerateFiles = GUICtrlCreateMenuItem("Generate", $MenuFile)
$MenuExportTemplate = GUICtrlCreateMenuItem("Export Data", $MenuGenerateFiles)
GUICtrlCreateMenuItem("", $MenuGenerateFiles) ; Create a separator line
$ExitMenu = GUICtrlCreateMenuItem("Exit", $MenuFile)

This is the code I'm using, but it fails to nest the "Export Data" under the "Generate" menu. Can anyone let me know what I'm missing here?


It does create the menus, but it doesn't put export data in the place I expected.

Edited by Jewtus

Share this post

Link to post
Share on other sites

Thats what I needed! Thanks!

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.