On Wed, Feb 20, 2013, at 08:21 AM, Steve Mills wrote:
> Because with proper Cocoa event, you're given everything you need rather
> than having to get it via brute force (get global point, convert to
> window coords, and convert to view coords). I was hoping someone might
> point out something that would do it the right way that I'm not aware of.

This isn't true. Events come in different flavors. You can't ask for the
mouse position for a flags-changed event, for example. Since the mouse
is decoupled from any individual application, it makes sense to
sometimes ask for its current position outside of the event stream.

--Kyle Sluder
_______________________________________________

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

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

Reply via email to