dragon Posted November 10, 2006 Posted November 10, 2006 Hi all , I'm new with autoit so i have a question . I created a GUI with a menu but how can i make a dropdown menu ? example : i have 1 menu called properties and i would to click on it so i get a submenu . How can i get that ?
Sunaj Posted November 10, 2006 Posted November 10, 2006 (edited) Please check basic examples (i.e. C:\Program Files\AutoIt3\Examples\GUI\SampleControls.au3) before posting your questions to see if people already spend time and energy on answering your questions - also the help file (C:\Program Files\AutoIt3\AutoIt3.chm) should be consulted & forums should be searched (many people asked the exact same question you just did). Hope this helps, god speed with your programming Hi all ,I'm new with autoit so i have a question .I created a GUI with a menu but how can i make a dropdown menu ?example : i have 1 menu called properties and i would to click on it so i get a submenu . How can i get that ?Edit: small typo Edited November 10, 2006 by Sunaj [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list]
stampy Posted November 10, 2006 Posted November 10, 2006 Search the help file for GUICtrlCreateMenu. I assume this is what your looking for. If not please post some code so we can see what you are actually trying to do. Good luck
Somniis Posted November 10, 2006 Posted November 10, 2006 (edited) Hi all , I'm new with autoit so i have a question . I created a GUI with a menu but how can i make a dropdown menu ? example : i have 1 menu called properties and i would to click on it so i get a submenu . How can i get that ? Bare-bones: $properties = GUICtrlCreateMenu("Properties") $p_sub1 = GUICtrlCreateMenuItem("Sub Menu 1", $properties) I hope that is what you were looking for. Edited November 10, 2006 by Somniis
dragon Posted November 13, 2006 Author Posted November 13, 2006 Search the help file for GUICtrlCreateMenu. I assume this is what your looking for. If not please post some code so we can see what you are actually trying to do.Good luckthank you very much it works srry guys that i didn't read the tuts
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now