• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WindowID to front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WindowID to front
      • From: Uli Kusterer <email@hidden>
    • Re: WindowID to front
      • From: Peter Lübke <email@hidden>
  • Prev by Date: Re: MPVolumeView
  • Next by Date: Re: WindowID to front
  • Previous by thread: Re: Accessibility in custom NSControl subclasses
  • Next by thread: Re: WindowID to front
  • Index(es):
    • Date
    • Thread