Re: one button mouse right click
Re: one button mouse right click
- Subject: Re: one button mouse right click
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 21 Apr 2010 19:02:05 -0600
On Apr 21, 2010, at 6:59 PM, email@hidden wrote:
> trying to get a right - click to show a popup menu
>
> i had thought that the os would / should convert a ctrl-click to call rightMouseDown
>
> but I see it does not and I have to look at flags and call rightMouseDown if ctlr key is down
The override you're looking for is actually -menuForEvent:, not -rightMouseDown: or -mouseDown:. Control-clicking is not the same as a right click.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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