WindowID to front
WindowID to front
- Subject: WindowID to front
- From: Benedikt Iltisberger <email@hidden>
- Date: Sun, 27 Feb 2011 13:55:05 +0100
Hello everybody,
I read tons of information on how to set and get the PID but i need a way to set a window to front (and not a window of a PID).
The problem is that if I set a PID to front, it might not be the exact window i want because the process can have multiple windows.
With help of the CGWindowListCopyWindowInfo I can get all window IDs and filter out the needed one.
But how can I now set the selected window ID to front?
(Note: It is a window of a foreign application which I want to set to front. My own app wouldn't be a problem.)
It would be very glad if somebody has a advise for me.
Thanks in advance.
Cheers
Benedikt_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden