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