Jump to content

Focus on a GUI Control When Not Focused On


Recommended Posts

I want to focus on a GUI control when it isn't focused on. So like I want to focus on an input control when the user clicks on something else.

I know to focus on the input control you can use this:

GUICtrlSetState($MyControl, $GUI_Focus)

but putting that in the loop makes the input "Uniputable" (lol). So is there a way to find out if the control is not focused on? That way I could put the line in an if statement.

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...