• 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: Cocoa & Spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa & Spaces


  • Subject: Re: Cocoa & Spaces
  • From: Jim Correia <email@hidden>
  • Date: Sat, 19 Jul 2008 12:43:26 -0400

On Jul 19, 2008, at 12:27 PM, Aaron Wallis wrote:

Just wondering if anybody's come across any documentation (or examples) on how to get cocoa applications to play nice with Spaces?
My app is primarily run through a HUD window which is activated from the menu bar. ATM, when I "activate" the window, spaces takes me to where the HUD last existed rather than opening it the users current space.

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSWindowCollectionBehavior >


NSWindowCollectionBehaviorMoveToActiveSpace should solve your problem.

Jim
_______________________________________________

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: 
 >Cocoa & Spaces (From: Aaron Wallis <email@hidden>)

  • Prev by Date: Re: CoreData Property access compiles, but fails at runtime
  • Next by Date: Re: avoid AlertPanel in opening a document
  • Previous by thread: Cocoa & Spaces
  • Next by thread: Autosaving in an NSPersistentDocument
  • Index(es):
    • Date
    • Thread