Sign in to follow this  
Followers 0
JavaScript_Freek

Menu (How would you?)

3 posts in this topic

#1 ·  Posted (edited)

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]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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=

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
Sign in to follow this  
Followers 0