• 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: Getting current mouse position after scroll
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting current mouse position after scroll


  • Subject: Re: Getting current mouse position after scroll
  • From: Rick Mann <email@hidden>
  • Date: Wed, 1 Dec 2010 19:50:38 -0800

On Dec 1, 2010, at 19:42:44, Graham Cox wrote:

> Scrolling might occur for some reason other than an event, such as a timer when autoscrolling, so listening for a bounds change is probably the right approach, assuming it is triggered for a scroll. Otherwise you may have to resort to polling for a change in the frame origin.

Sadly, it's not posting that notification (nor the frame-changed counterpart). Bah.

> You can get the mouse position using [NSWindow mouseLocationOutsideOfEventStream]

Thanks!

--
Rick


_______________________________________________

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: 
 >Getting current mouse position after scroll (From: Rick Mann <email@hidden>)
 >Re: Getting current mouse position after scroll (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Getting current mouse position after scroll
  • Next by Date: Re: [iOS] setting table style for root view controller of a navigation controller
  • Previous by thread: Re: Getting current mouse position after scroll
  • Next by thread: Re: Getting current mouse position after scroll
  • Index(es):
    • Date
    • Thread