Jump to content
Sign in to follow this  

Detect input focus on any external window

Recommended Posts

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

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  

  • Create New...