On Tue, 21 Oct 2008 20:43:00 +0200, "Markus Amalthea Magnuson"
<[EMAIL PROTECTED]> said:
>Hello,
>
>I am trying to put a window above the desktop but below the desktop
>icons. I have achieved this by using the following code (in my own
>subclass of NSWindow):
>
>[self setLevel:kCGDesktopIconWindowLevel - 1];

I think what you want to say is
CGWindowLevelForKey(kCGDesktopWindowLevelKey). This should be more robust
than manipulating the level value directly.

m.

-- 
matt neuburg, phd = [EMAIL PROTECTED], <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to