• 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
How to get mouse moved events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get mouse moved events?


  • Subject: How to get mouse moved events?
  • From: Brant Sears <email@hidden>
  • Date: Fri, 23 Jan 2004 14:17:43 -0800

Is there a way to get signaled for mouse moved events when my app is not in
front? I've tried creating very high level, full screen clear windows. For
example, at the shielding level, screen saver level, etc. However, once I
click on the desktop, I stop getting mouse move events. I've tried
overriding methods like resignFirstResponder so that it always returns NO,
and overriding resignMainWindow, resignKeyWindow so that they doesn't do
anything (i.e. preventing the built in routines from being called). Doing
this has had no effect on the behavior of the window with regards to giving
me the mouse move events.

Do I need to inject my window into some other process (like some system
process?). (If so, any idea how?) Or possible write the window into some
kind of daemon that gets loaded at login time and then use IPC to signal my
app when a mouse move happens. Again, if so, how does one go about doing
that? Or would it be easier to try to get this information through IOKit?

Any ideas?

Brant Sears
_______________________________________________
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: How to get mouse moved events?
      • From: Public Look <email@hidden>
  • Prev by Date: Re: Cocoa Bindings: observeValueForKeyPath
  • Next by Date: NSPopUpButtonWillPopUpNotification
  • Previous by thread: Re: Cocoa Bindings: observeValueForKeyPath
  • Next by thread: Re: How to get mouse moved events?
  • Index(es):
    • Date
    • Thread