Re: rightMouseDown: (NSEvent) theEvent
Re: rightMouseDown: (NSEvent) theEvent
- Subject: Re: rightMouseDown: (NSEvent) theEvent
- From: Ondra Cada <email@hidden>
- Date: Sat, 4 May 2002 02:09:29 +0200
On Saturday, May 4, 2002, at 02:04 , Matthew Smith wrote:
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.
Interesting... How would I stop it from doing that? If all I need to know
is
when a rightMouseDown event occurs, then I can pass the event along to any
interested objects...
Try to catch the event on the NSApplication level: it should help, *all*
events should go through there.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.