Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom-view cursor changing



On 28 Nov 2007, at 12:03, Uli Kusterer wrote:

I think it'd be best if you just made your view change its cursor rects while it is tracking. I'd expect your view to be called to reset its cursor rects, too. Can't you just set a flag there and update your own cursor rects as needed?

FWIW, I think the approach John has taken (i.e. using -enable/- disableCursorRects) is a perfectly sensible one. If you're tracking the mouse using the three-method approach, you actually don't want other peoples' cursor rects causing your pointer to change in most cases (consider, for instance, the case where the user is dragging a slider, and as they do so they stray over e.g. a text field or a link in a WebView or something).


Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Custom-view cursor changing (From: John Stiles <email@hidden>)
 >Re: Custom-view cursor changing (From: Uli Kusterer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.