Hi,

I have a layer-backed NSView, say an NSButton (or a complete view hierarchy with many controls), and I am transforming - moving, rotating, etc. - its layer around. Now when I try to click the NSButton at its currently "visible" position, drawn by the CALayer, it does not work. I have to click into the area where the NSButton originally was, before transforming its layer.

Is there an easy way to get this working as expected? Without re- implementing the whole mouse handling of all affected views by myself?

I know that the mouse handling works when rotating a button with setFrameRotation, so Cocoa may internally be prepared for this kind situation. Would be really great if this would also work for general transformations done by CALayers.

Regards,
Mani
--
http://www.mani.de
iVolume - Loudness adjustment for iTunes.
LittleSecrets - The encrypted notepad.


_______________________________________________

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