PDA

View Full Version : geting window position


marko
2005.07.23, 03:19 PM
Hi,

I have problem to get main window position of another application on screen.
I need to have two applications and from one obtain main window of another application. Is it posiblle? On Windows you can get handler for window by process ID. Is something similar on MAC?

Thanks

Marek

Fenris
2005.07.23, 08:26 PM
What API are you using? I suspect that you can call into the window server...

marko
2005.07.24, 06:32 AM
Hi,
I need to use Carbon API, so I'm planning to use LaunchApplication (LaunchPBPtr LaunchParams); function for starting another application.

Marek