Sign in to follow this  
Followers 0
sconley

Controlgetfocus

1 post in this topic

#1 ·  Posted (edited)

Nevermind...

I found my problem...

How is ControlGetFocus supposed to work?

$CurrentControl = ControlGetFocus($WinTitle,$WinText)

I have an AU3GUI window running. No matter what control I have the cursor on, I get a 1 from ControlGetFocus.

For testing purposes, I'm running a loop with a 1 second pause that runs ControlGetFocus and puts the answer into the AU3GUI form using the controlsettext function.

Edited by sconley

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