Re: Problems when putting a window between desktop and desktop icons
Re: Problems when putting a window between desktop and desktop icons
- Subject: Re: Problems when putting a window between desktop and desktop icons
- From: Matt Neuburg <email@hidden>
- Date: Thu, 23 Oct 2008 10:26:41 -0700
- Thread-topic: Problems when putting a window between desktop and desktop icons
On Tue, 21 Oct 2008 20:43:00 +0200, "Markus Amalthea Magnuson"
<email@hidden> 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@hidden, <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@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