• 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: detecting mouse movement when window is inactive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting mouse movement when window is inactive


  • Subject: Re: detecting mouse movement when window is inactive
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 22 Jul 2007 15:52:46 +0200

On 22.07.2007, at 15:42, Mitchell Livingston wrote:
On Jul 22, 2007, at 9:30 AM, I. Savant wrote:

On Jul 22, 2007, at 12:23 AM, Mitchell Livingston wrote:
Is there no way to do this in cocoa? Tooltips can work when not for the inactive window, so there must be some way. Any help would really be appreciated.

See -addTrackingRect:owner:userData:assumeInside: and -- (void) removeTrackingRect:(NSTrackingRectTag)aTag and search the docs and archives for examples.


It appears this is only for entering and exiting. I need to detect movement, specifically to know when the mouse enters and exits cells in a table view. Is this possible?

Thanks,
Mitch

Have you even read the description of that method? You pass it a rect. It does exactly what you want.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: detecting mouse movement when window is inactive
      • From: Mitchell Livingston <email@hidden>
References: 
 >Re: detecting mouse movement when window is inactive (From: Mitchell Livingston <email@hidden>)
 >Re: detecting mouse movement when window is inactive (From: "I. Savant" <email@hidden>)
 >Re: detecting mouse movement when window is inactive (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Re: ASScriptMenuManager
  • Next by Date: Re: Quickest Drawing Method
  • Previous by thread: Re: detecting mouse movement when window is inactive
  • Next by thread: Re: detecting mouse movement when window is inactive
  • Index(es):
    • Date
    • Thread