geting window position

marko
Unregistered
 
Post: #1
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
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #2
What API are you using? I suspect that you can call into the window server...
Quote this message in a reply
marko
Unregistered
 
Post: #3
Hi,
I need to use Carbon API, so I'm planning to use LaunchApplication (LaunchPBPtr LaunchParams); function for starting another application.

Marek
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  new position with vector pander007 3 3,665 Oct 13, 2007 11:49 AM
Last Post: Nevada