Re: Mouse move event
Re: Mouse move event
- Subject: Re: Mouse move event
- From: Rolf <email@hidden>
- Date: Thu, 13 Nov 2003 01:36:42 +0100
Hi,
Try overriding your windows sendEvent method. It will provide a wealth of mouse state
events - including mouse movement.
/Rolf
13.11.2003 00:41:25, skrev Benjohn <email@hidden>:
>
Hi there,
>
>
I'm writing an application a little like the Pixie magnify tool.
>
>
I need to be informed of all mouse move events so that as the user
>
moves their mouse about, the app can redraw its views. I get the
>
impression that mouseMove events are only fired when the mouse is over
>
one of my windows?
>
>
I know I can get the mouse's location from NSEvent, so I could just
>
poll the mouse's position with a periodic, but this doesn't seem like a
>
particularly elegant solution. Can anyone suggest a better way?
>
>
Thanks,
>
all the best,
>
Benjohn
>
_______________________________________________
>
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.
_______________________________________________
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.