Jump to content

How can I prevent user to activate parent window?


87450kalle
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...