rogerd2u Posted December 18, 2008 Share Posted December 18, 2008 (edited) I have a menu that is set up as a function, which I can call in my script. How do I close the menu when I don't want it displayed? For example, I want to open a second menu when a user clicks on one of the buttons in my first menu. I'm sure there is a simple, straight-forward way of doing this in AutoIT, but I'm missing it! Please help! :-) Thank you in advance!! Edited December 18, 2008 by rogerd2u Roger O."When people show you who they are, believe them. --Mark Twain Link to comment Share on other sites More sharing options...
youknowwho4eva Posted December 18, 2008 Share Posted December 18, 2008 I'm kind of lost on what your asking, can you post a working (well other then what you want it to do) script? Giggity Link to comment Share on other sites More sharing options...
rogerd2u Posted December 18, 2008 Author Share Posted December 18, 2008 (edited) Sorry...I was trying to be clear.Okay, I have a menu called _UserMenu() that I call at the beginning of my script. The _UserMenu() function has a button that a user can click, which runs another menu: _SecondMenu()When I the second menu starts, the first menu stays open -- but I don't want it to do that... :-)So my question is, how do I close the first menu (function) before opening the second menu (function)Does that clear it up?It's a long script, otherwise I'd just post it...UPDATE: I FIGURED IT OUT!! I just needed to add a GUISetState(@SW_HIDE) to my button. THANKS ANYWAYS!! :-)I'm kind of lost on what your asking, can you post a working (well other then what you want it to do) script? Edited December 18, 2008 by rogerd2u Roger O."When people show you who they are, believe them. --Mark Twain Link to comment Share on other sites More sharing options...
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