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: Keeping my desktop window shown when app is hidden?




On Oct 26, 2007, at 6:35 PM, Rick Mann wrote:

I have a nifty desktop window behaving nicely behind my finder icons. I'd like for that window to stay visible, even when my app is hidden. Is there some attribute of the window I can set to allow this?

In Leopard, you can use kHIWindowBitDoesNotHide with HIWindowChangeAttributes. Prior to Leopard, the only way to get this behavior is to create your window using kUtilityWindowClass. Note that you can create a window of arbitrary appearance as a utility window - you don't need to get the floating window appearance that's the default for kUtilityWindowClass - by using CreateCustomWindow with a WindowDefSpec that specifies the procID of the window you want, together with kUtilityWindowClass as the windowClass parameter to CreateCustomWindow.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Keeping my desktop window shown when app is hidden? (From: Rick Mann <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.