Re: Getting 'mouseMoved' events
Re: Getting 'mouseMoved' events
- Subject: Re: Getting 'mouseMoved' events
- From: John Hörnkvist <email@hidden>
- Date: Tue, 21 May 2002 10:09:31 +0200
On Tuesday, May 21, 2002, at 01:03 AM, James Pengra wrote:
I have an NSView in which I utilize mouseDown events and would also
like to track the mouse cursor using mouseMoved events. I send the
message [myWindow setAcceptsMouseMovedEvents:YES]; before looking for
mouse movement, but the procedure -(void)mouseMoved:(NSEvent
*)event never gets called. However, mouseDown gets called every time
I click in the View.
What else must I do to to activate mouseMoved events?
mouseMovedEvents don't get sent unless you turn them on. NSWindow
implements
- (void)setAcceptsMouseMovedEvents:(BOOL)flag;
- (BOOL)acceptsMouseMovedEvents;
Regards.
John Hornkvist
--
ToastedMarshmallow, need help?
http://www.toastedmarshmallow.com
_______________________________________________
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.