Re: Getting current mouse position after scroll
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