> Also, does a Control-click behave differently than a right-click?

Control-clicks will behave differently than a right-click in NSView (though I'm 
not sure if that's Konidaris' problem). A control click on a child NSView won't 
show the parent's -menuForEvent as a right mouse down does. I wrote a little 
about this when I first hit that same issue: 
http://sound-of-silence.com/?article=20150923 
<http://sound-of-silence.com/?article=20150923> 

-Matt

> On Feb 10, 2016, at 2:42 PM, Ken Thomases <k...@codeweavers.com> wrote:
> 
> On Feb 10, 2016, at 4:26 PM, Konidaris Christos <ko...@escape.gr> wrote:
>> 
>> Thanks for the insight Ken. I’ll try setting the menu manually tomorrow 
>> (it’s half past midnight here) and let you know. But shouldn’t the 
>> -menuForEvent:(NSEvent *)event for my NSTableCellView subclass work instead ?
> 
> Well, the -rightMouseDown: ought to go up the responder chain.  Do you 
> implement that on any of your view classes?  Also, does a Control-click 
> behave differently than a right-click?
> 
> Regards,
> Ken
> 
> 
> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/mreagan2652%40gmail.com
> 
> This email sent to mreagan2...@gmail.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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to