Jump to content
Sign in to follow this  
rogerd2u

I'm sure there's a simple way to do this

Recommended Posts

rogerd2u

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 by rogerd2u

Roger O."When people show you who they are, believe them.” --Mark Twain

Share this post


Link to post
Share on other sites
youknowwho4eva

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

Share this post


Link to post
Share on other sites
rogerd2u

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 by rogerd2u

Roger O."When people show you who they are, believe them.” --Mark Twain

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  

×