On Apr 21, 2010, at 6:59 PM, k...@highrolls.net 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 (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