Win32 - Accessing controls in other threads/applications

Started by
0 comments, last by angry 20 years, 1 month ago
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]
Advertisement
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.

This topic is closed to new replies.

Advertisement