Jump to content

Menu (How would you?)


Recommended Posts

I tried looking in GUICtrlCreateMenuItem and GUICtrlCreateMenu and no help.

Ok so I want to know how you do more heigharchies. (??) (Names are RANDOM!)

OK so you have File | Edit | About at the very top that are drop down menus.

Then you go under File you see "Dan" and below it , it's "Low" So you have

File | Edit | About 
Dan
Low

But you want Low to redirect somewhere to another menu.

So it would be.

File | Edit | About 
Dan
Low >Settings 
         Options

Get what I mean?

Edited by JavaScript_Freek

[center]Cookyx.com :: Simple LAN Chat[/center]

Link to comment
Share on other sites

Common man, this is all in the help file!!

#include <GUIConstants.au3>

GUICreate("Look in the help file!!", 250, 250, -1, -1)
$File = GUICtrlCreateMenu("&File")
GUICtrlCreateMenu("Edit")
GUICtrlCreateMenu("About")
GUICtrlCreateMenuItem("Dan", $File)
$Low = GUICtrlCreateMenu("Low", $File, 1)
$Settings = GUICtrlCreateMenuItem("Settings", $Low)
GUICtrlCreateMenuItem("Options", $Settings)
GUISetState(@SW_Show)

While 1
    $Msg = GUIGetMsg()
Select
    Case $Msg = $GUI_Event_Close
    Exit
EndSelect
Wend
Edited by =sinister=
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...