On Thu, Oct 23, 2008 at 19:26, Matt Neuburg <[EMAIL PROTECTED]> wrote:

>>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.

Thanks for the tip! However, that doesn't really solve my problem,
which I am beginning to think is a bug on Apple's behalf. If anyone is
interested in some sample code, please download it here:

http://data.konstochvanligasaker.se/markus/GiveMeWindow.zip

Any other suggestions are welcome.
-- 
Markus Amalthea Magnuson

http://konstochvanligasaker.se
http://nattlek.se

"Life... is like a grapefruit. It's orange and squishy, and has a few
pips in it, and some folks have half a one for breakfast."
 – Douglas Adams
_______________________________________________

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