Re: mouse moved events in NSView?
Re: mouse moved events in NSView?
- Subject: Re: mouse moved events in NSView?
- From: Satoshi Matsumoto <email@hidden>
- Date: Wed, 12 May 2004 09:50:16 +0900
on 04.5.12 9:40 AM, David Piasecki at email@hidden wrote:
>
I had tried adding the mouseMoved event to my NSView, and it didn't
>
work. I know from the documentation that "NSWindows don9t accept
>
mouse-moved events by default." 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, or if it's even possible (though I
>
don't see why it shouldn't be).
Your NSView should be the firstResponder for the mouseMoved event.
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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.