Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Finding WindowFromPoint

I want to find a window handle (HWND) when all I have is a mouse point (screen coordinates). I've managed to do pretty well so far but have come into a problem. I can't seem to get a handle on any static text windows.



I'm using WindowFromPoint and ChildWindowFromPoint to get the window handles as of now. I'm basically trying to emulate Microsoft's Spy utility (The Window Finder part anyway).



If anyone knows how I can get a handle on static text windows please let me know. I'm begging, really!


Comments

Sign In or Register to comment.