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

On Mon, Oct 27, 2008 at 21:45, Karl Goiser <[EMAIL PROTECTED]> 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 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/kai%40granus.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

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