Getting current mouse position after scroll
Getting current mouse position after scroll
- Subject: Getting current mouse position after scroll
- From: Rick Mann <email@hidden>
- Date: Wed, 1 Dec 2010 19:19:35 -0800
Cocoa.
I have a view that shows the coordinates of the current mouse location in it. I update this via -mouseMoved: But if the user scrolls the view with a scroll ball, I don't get mouse moved events.
1) What's the best way to react to scroll changes? I'm currently observing the NSViewBoundsDidChangeNotification.
2) How can I get the mouse position at this point? I don't have an NSEvent to check.
TIA,
--
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