On Dec 1, 2010, at 9:19 PM, Rick Mann wrote:

> 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.



See:
 
- (void)scrollWheel:(NSEvent *)theEvent

___________________________________________________________
Ricky A. Sharp         mailto:rsh...@instantinteractive.com
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to