On May 4, 2011, at 08:38, Ken Thomases wrote:

> For events which have location associated with them, you should check the 
> location and just invoke super for any which fall outside of the L shape.

There's also -[NSView hitTest] for customizing the behavior at a slightly 
higher lever than redirecting events. This might help an odd-shaped view be a 
better citizen when placed in a window with other views.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to