• 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: Tracking mouse in Non-active Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking mouse in Non-active Windows


  • Subject: Re: Tracking mouse in Non-active Windows
  • From: Dirk Musfeldt <email@hidden>
  • Date: Fri, 07 Oct 2005 10:07:35 +0200

OK,

no answer yet. :-)

So how is it possible that Safari has a roll over effect on the bookmark
buttons in non-active windows? And it even works if Safari is not the active
application.

I tried with -[NSView addTrackingRect:owner:userData:assumeInside:] but this
doesn't work if my window is not key window.

So how do I get those mouse events?




> Hi all,
>
> I'd like to track mouse movement from the application level, i.e. regardless
> which window of my application is key window.
> It would be fine if instead I could track from a non-active window.
>
> How is that possible?
>
>
>
> Regards
>
> Dirk
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>

Regards

Dirk



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Tracking mouse in Non-active Windows
      • From: Andreas Mayer <email@hidden>
References: 
 >Tracking mouse (From: Dirk Musfeldt <email@hidden>)

  • Prev by Date: Re: Problem with application hiding and revealing
  • Next by Date: Re: Flipping an NSImage (SOLVED)
  • Previous by thread: Tracking mouse
  • Next by thread: Re: Tracking mouse in Non-active Windows
  • Index(es):
    • Date
    • Thread