Sign in to follow this  
Followers 0
Champak

Detect input focus on any external window

4 posts in this topic

I searched through windows messages and couldn't come up with a solution, or combination of solutions. What I want to do is click on a text box/combo box of any external app and return the control id and window of the app that was clicked. I found $WM_NCACTIVATE, but that only sends a message when going to/from my app; I need something that will register something when ANY app is clicked on from any other app, and then send me the control id if I click in one. Is this possible?

Share this post


Link to post
Share on other sites



see in examples section the iuiautomation thread which shows some event cachin logic

Share this post


Link to post
Share on other sites

Thanks, ill check them out.

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