• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mouse move event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Mouse move event (From: Benjohn <email@hidden>)

  • Prev by Date: Re: Terminate on Close
  • Next by Date: Re: Terminate on Close
  • Previous by thread: Mouse move event
  • Next by thread: Re: Mouse move event
  • Index(es):
    • Date
    • Thread