Archived

This topic is now archived and is closed to further replies.

angry

Win32 - Accessing controls in other threads/applications

Recommended Posts

I want to know how to access(i.e retrieving handles) to controls which are bound to other threads/applications. I think you do this with hooks, however somehow I've never got the hang on hooks. So can someone give me an example or some website/tutorial whatever that demonstrates this? Thanks. Oh, and this is in C/C++. [edited by - angry on March 18, 2004 3:30:10 PM]

Share this post


Link to post
Share on other sites
You can get window handles to other running processes by using the GetWindow() or EnumWindows() functions. There are a couple other related functions that might work also. Try looking up the Window Management section on MSDN.

Share this post


Link to post
Share on other sites