Re: rightMouseDown not working as documented?
Re: rightMouseDown not working as documented?
- Subject: Re: rightMouseDown not working as documented?
- From: Corbin Dunn <email@hidden>
- Date: Fri, 22 Jan 2010 17:07:15 -0800
On Jan 22, 2010, at 4:57 PM, Jens Alfke wrote:
>
> On Jan 22, 2010, at 4:20 PM, Corbin Dunn wrote:
>
>> NSView doesn't call up the responder chain for rightMouseDown:. It calls -menuForEvent:, and if non nil, presents the contextual menu.
>> Please log a bug requesting our documentation to clarify this, or asking us to change the behavior if you were expecting something else.
>
> I had a look at the overview of event handling, and the stuff I saw said that mouse-moved and keyboard events follow the responder chain, but not mouse-down/up events.
-mouseDown: in NSView will forward up. -rightMouseDown: won't (see my previous message). However, -mouseDown: in NSControl will not forward -- it is overridden to do cell tracking.
corbin
_______________________________________________
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