Re: Mouse Events & NSResponder
Re: Mouse Events & NSResponder
- Subject: Re: Mouse Events & NSResponder
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 14 Jun 2006 08:35:14 -0700
On Jun 14, 2006, at 6:16 AM, Harrison Lee wrote:
Stumped...
I was wondering if there is anyway for a generic NSResponder to
catch all the mouse events. I recognize that the default setup is
to let NSViews handle mouseDown: events but I want to catch any and
all mouse events. Is that doable? I have created an NSResponder sub-
class and have set it to be the first-responder for the key window.
You can subclass NSApplication and override -sendEvent:
-jcr
"This is not a book to be tossed aside lightly. Rather, it should be
hurled with great force." -Dorothy Parker
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden