• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Desktop Window Level?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desktop Window Level?


  • Subject: Re: Desktop Window Level?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 8 Nov 2004 01:59:57 +0100

At 19:23 Uhr -0500 07.11.2004, Austin Sarner wrote:
I'm trying to display a window at the level directly above the desktop

- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag

Currently I am using the [win SetLevel:(int)newLevel]; to change the window level, but there is no constant for the place at which I wish to put it. Basically, the level should be above the desktop icons, but below the menu bar and dock.

kCGDesktopIconWindowLevel should work fine for that, if your call orderFront: on your window. Or if that should be problematic, try kCGDesktopIconWindowLevel +1.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Desktop Window Level? (From: Austin Sarner <email@hidden>)

  • Prev by Date: text layout crash
  • Next by Date: Re: Desktop Window Level?
  • Previous by thread: Desktop Window Level?
  • Next by thread: Re: Desktop Window Level?
  • Index(es):
    • Date
    • Thread