• 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: Problems when putting a window between desktop and desktop icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems when putting a window between desktop and desktop icons


  • Subject: Re: Problems when putting a window between desktop and desktop icons
  • From: Karl Goiser <email@hidden>
  • Date: Tue, 28 Oct 2008 07:45:49 +1100

Dear Markus and others,

This is a problem that I have had with an application of mine, iCalViewer, which displays a window on the desktop.

What happens is that you can find a window level which draws the window under the desktop icons and over the desktop itself. However, at that level, that window captures the mouse events as if it was _over_ the desktop icons.

My only solution was to disable mouse interaction with my window.


I raised this as a bug with Apple, bug number 3521992 on 5 January, 2004 - coming up to 5 years ago!



Regards,

Karl



On 24/10/2008, at 4:48 AM, Markus Amalthea Magnuson wrote:

On Thu, Oct 23, 2008 at 19:26, Matt Neuburg <email@hidden> 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@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

_______________________________________________

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


  • Follow-Ups:
    • Re: Problems when putting a window between desktop and desktop icons
      • From: "Markus Amalthea Magnuson" <email@hidden>
References: 
 >Re: Problems when putting a window between desktop and desktop icons (From: Matt Neuburg <email@hidden>)
 >Re: Problems when putting a window between desktop and desktop icons (From: "Markus Amalthea Magnuson" <email@hidden>)

  • Prev by Date: Re: Overridding -[NSPersistentDocument managedObjectContext]
  • Next by Date: Re: Sizing strangeness in the land of NSDrawer
  • Previous by thread: Re: Problems when putting a window between desktop and desktop icons
  • Next by thread: Re: Problems when putting a window between desktop and desktop icons
  • Index(es):
    • Date
    • Thread