Sign in to follow this  
Followers 0
87450kalle

How can I prevent user to activate parent window?

3 posts in this topic

Hi,

Working a program and need some help.

If I click on a button in my parent window a child window pops up with a close button.

I wounder if any body knows a smart way to disable the parent window if

a child window is open?

So, the only way to access the parent window again is to press the close button in the child window.

Regards Johan

Share this post


Link to post
Share on other sites



I found a way to fix it.... /Johan

Share this post


Link to post
Share on other sites

Well... If you found the way...

Such as:

GUISetState(@SW_DISABLE, $PARENT)
 _CHILD()
GUISetState(@SW_ENABLE, $PARENT)

It would look better for those Newbies to see what you found out rather than "I found a way". Helps the searches alot better.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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