this may or may not be simple
i want to know when the user has right or middle clicked on a view.
you'd think it be as easy as just overriding the -(void)rightMouseDown: method... but it doesn't trigger...
i thought maybe i have to make - (void)acceptsFirstMouse: return YES, but that method is never called
i even tried overriding the - (NSMenu*)menuForEvent: and + (NSMenu*)defaultMenu methods but those never get called either.
and yes, the view is at the top and it is the first responder. It responds to mouseDown: and it's set up to respond to mouseMoved:
what am I missing?
i want to know when the user has right or middle clicked on a view.
you'd think it be as easy as just overriding the -(void)rightMouseDown: method... but it doesn't trigger...
i thought maybe i have to make - (void)acceptsFirstMouse: return YES, but that method is never called
i even tried overriding the - (NSMenu*)menuForEvent: and + (NSMenu*)defaultMenu methods but those never get called either.
and yes, the view is at the top and it is the first responder. It responds to mouseDown: and it's set up to respond to mouseMoved:
what am I missing?