Re: Cocoa & Spaces
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