• 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
Mouse move event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mouse move event


  • Subject: Mouse move event
  • From: Benjohn <email@hidden>
  • Date: Wed, 12 Nov 2003 23:41:25 +0000

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.

  • Follow-Ups:
    • Re: Mouse move event
      • From: Troy Dawson <email@hidden>
    • Re: Mouse move event
      • From: Rolf <email@hidden>
  • Prev by Date: Terminate on Close
  • Next by Date: Backwards compatibility and CFBundleGetFunctionPointerForName
  • Previous by thread: Re: Terminate on Close
  • Next by thread: Re: Mouse move event
  • Index(es):
    • Date
    • Thread