Re: mouse moved events in NSView?
Re: mouse moved events in NSView?
- Subject: Re: mouse moved events in NSView?
- From: "David Piasecki" <email@hidden>
- Date: Tue, 11 May 2004 18:14:52 -0700
I actually just did that a few minutes ago, but thanks. It's still not
working, though I think Satoshi is correct regarding setting the first
responder for mouse moved events. I just don't know how to do that. So
far I tried overriding the acceptsFirstResponder method to always
return true.
David
On May 11, 2004, at 6:07 PM, Allan Odgaard wrote:
On 12. May 2004, at 2:40, David Piasecki wrote:
[...] Just for kicks, I tried [myView
setAcceptsMouseMovedEvents:true], but that gives a warning that
myView may not respond to that event. So I'm not sure how to enable
the mouseMoved event for an NSView [...]
Use [[myView window] setAcceptsMouseMovedEvents:YES]
_______________________________________________
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.