• 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: Kai <email@hidden>
  • Date: Tue, 28 Oct 2008 09:22:04 +0100


On 28.10.2008, at 08:27, Markus Amalthea Magnuson wrote:

On Mon, Oct 27, 2008 at 21:45, Karl Goiser <email@hidden> wrote:

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

Thanks for your reply, good to hear it's not just me, on the other hand not so good because it obviously can't be done :)

Hm, you could try to detect mouse events for the icons yourself and if such an event is detected repost it to the Finder using some low level event posting in Core Graphics. I’m not sure though whether you can post events for a specific app or even for a specific window.


Or (maybe easier) turn it around: set your window to ignore mouse events and use a low level event tap to catch those mouse events you are interested in.

Best luck!
Kai



Time to come up with an entirely different solution then.
--
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


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>)
 >Re: Problems when putting a window between desktop and desktop icons (From: Karl Goiser <email@hidden>)
 >Re: Problems when putting a window between desktop and desktop icons (From: "Markus Amalthea Magnuson" <email@hidden>)

  • Prev by Date: Exceptions vs. pointers to error objects
  • Next by Date: Re: Can we ask iPhone questions yet?
  • Previous by thread: Re: Problems when putting a window between desktop and desktop icons
  • Next by thread: Data structure suggestions
  • Index(es):
    • Date
    • Thread