Triple checked, I even copy/pasted the method directly from the docs to make sure:
- (void)rightMouseDown:(NSEvent *)theEvent { NSLog(@"right mouse"); [super rightMouseDown:theEvent]; } Could it be something to do with the fact that it's a layer hosting view? I don't see how that would make a difference in the responder chain but that's all I can think of. On 2011-08-25, at 1:58 PM, Ken Thomases wrote: > On Thu, Aug 25, 2011 at 11:45 AM, Indragie Karunaratne > <cocoa...@indragie.com> wrote: > >> I have an NSView subclass that I'm trying to capture right clicks in. I >> override the rightMouseDown: method but it is never called. > > Any chance you simply have a typo or misspelling in your method signature? > > -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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com