Re: rightMouseDown: (NSEvent) theEvent
Re: rightMouseDown: (NSEvent) theEvent
- Subject: Re: rightMouseDown: (NSEvent) theEvent
- From: "Erik M. Buck" <email@hidden>
- Date: Fri, 3 May 2002 10:18:09 -0500
Mouse events go to the view under the mouse. If that view does not consume
the event, it goes to the next responder and so on. You will not get mouse
events via NSWindow's responder methods unless the view(s) under the mouse
do not consume them. However, in this case, I think Cocoa contextual menu
stuff is consuming your rightMouseDown event.
----- Original Message -----
From: "Matthew Smith" <email@hidden>
To: <email@hidden>
Sent: Thursday, May 02, 2002 7:02 PM
Subject: rightMouseDown: (NSEvent) theEvent
>
Hello,
>
>
I've subclassed an NSWindow and overridden a few of the NSResponder
methods
>
so as to be alerted when certain events occur.
>
>
One of the methods I am overriding is
>
- (void) rightMouseDown: (NSEvent *) theEvent
>
>
>
Strangely this is never called in my app (though rightMouseUp, mouseDown
and
>
mouseUp are).
>
>
Is this a known issue? Or is my computer just wakko?
>
>
Thanks,
>
>
Matt Smith
>
_______________________________________________
>
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.
_______________________________________________
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.