• 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
Re: Window collection behavior, remove from cycle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window collection behavior, remove from cycle?


  • Subject: Re: Window collection behavior, remove from cycle?
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 11 Oct 2011 22:27:43 -0500

On Oct 11, 2011, at 7:37 PM, Arbit Richardi wrote:

> I have a fullscreen window that should effectively disable window
> cycling; because I've taken over the entire screen, it doesn't makes
> sense to be able to bring other windows in front of the fullscreen
> one.
>
> NSWindow's NSWindowCollectionBehaviorIgnoresCycle collection behavior
> only removes a window from the cycle -- command-tilde will still bring
> other windows in front of the fullscreen one. This isn't quite what I
> want.

Your fullscreen window can (should?) be at a higher window level than normal, which would prevent other windows from being ordered in front of it.  I'm not sure it would prevent them from becoming key, though.

You can order the other windows out (off the screen).  You can have them refuse to become main or key.  You can set their collection behavior to include NSWindowCollectionBehaviorIgnoresCycle temporarily.  You can trap the Command-` key events, so that NSApplication never sees them, in an override of -sendEvent:.  (That key combination is user-configurable, though, and it's kind of hacky to figure out what the key combination is using CopySymbolicHotKeys().)

Regards,
Ken

_______________________________________________

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

References: 
 >Window collection behavior, remove from cycle? (From: Arbit Richardi <email@hidden>)

  • Prev by Date: Re: List of registered URI handlers?
  • Next by Date: Re: CoreRecipes in Xcode4 ?
  • Previous by thread: Window collection behavior, remove from cycle?
  • Next by thread: AVFoundation and kYUVSPixelFormat from AVPlayer
  • Index(es):
    • Date
    • Thread