• 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: mouseMoved events and unfocused views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouseMoved events and unfocused views


  • Subject: Re: mouseMoved events and unfocused views
  • From: Markus Spoettl <email@hidden>
  • Date: Wed, 20 Aug 2008 10:15:43 -0700

On Aug 20, 2008, at 10:01 AM, Ruotger Skupin wrote:
is there a way to get mouseMoved events in a view without it being the focused view (and without getting the focus, of course)?


Yes, have a look at the tracking area options (tracking areas are new in 10.5)

http://developer.apple.com/documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html#/ /apple_ref/c/tag/NSTrackingAreaOptions

more specifically NSTrackingActiveWhenFirstResponder, NSTrackingActiveInKeyWindow, NSTrackingActiveInActiveApp and NSTrackingActiveAlways.

Not sure how to accomplish this on previous OS versions.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >mouseMoved events and unfocused views (From: Ruotger Skupin <email@hidden>)

  • Prev by Date: Re: Simple NSView Question
  • Next by Date: Re: passing an object between views
  • Previous by thread: Re: mouseMoved events and unfocused views
  • Next by thread: MacBook Wake On Lan
  • Index(es):
    • Date
    • Thread