Inspecting windows from other applications

konan

Registered
Please forgive me if this is a stupid question...

Is there any way for my carbon application to visit each window open (from all applcations) and get some information on that window, like it's title, or it, position.

For example

for each window open
{
get title
get window Rect
}

Is this possible? If so, can you point me in the right direction. So far, all techniques I have tried ony return the windows created by my application, and not others.

Any help you can provide would be most appreciated.
Konan
 
Well, it's possible, but not easy. It requires hacking around in the window manager in places you're not supposed to be. And no, I don't know how to do it.

An application really shouldn't be modifying windows that are not its own. That's why the functionality is not readily exposed.

Wade
 
Back
Top