On Dec 21, 2008, at 3:45 PM, Michael Ash wrote:

However, something I didn't know: it appears that something coalesces
mouseDragged: events. They don't pile up the way I thought I would.
Rather, when you come back around, you only get one mouseDragged: with
the latest location. In other words, while the framework always
follows a consistent event, draw, event, draw sequence (at least in my
testing) it will not build up a long queue of events simply from
dragging the mouse around.

[...]

Also if you actually care about the path that the user's mouse took in
the time between drawing, you'll have to do something fancier.

See SetMouseCoalescingEnabled and IsMouseCoalescingEnabled.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to