Re: NSResponder - rightMouseDown, What am I missing?
Re: NSResponder - rightMouseDown, What am I missing?
- Subject: Re: NSResponder - rightMouseDown, What am I missing?
- From: Robert Clair <email@hidden>
- Date: Thu, 3 Apr 2003 17:57:40 -0500
There is indeed something flaky with rightMouseDown. I have a window
with a custom
view that is loaded from a nib in the usual way. I have a separate
object, which inherits
from NSResponder, to handle the events for the view. (It is inserted in
the
responder chain after the view on awakeFromNIb. It never gets
rightMouseDown events.
Curiously, the view does get them. I solved the problem with a minor
kludge -
a rightMouseDown method in the view:
- (void) rightMouseDown:(NSEvent*)currentEvent
{
// for some reason this isn't getting forwarded by the responder chain
[eventHandler rightMouseDown:currentEvent];
}
------Bob
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.