Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa & Spaces



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Cocoa & Spaces (From: Aaron Wallis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.