Re: Custom-view cursor changing
Re: Custom-view cursor changing
- Subject: Re: Custom-view cursor changing
- From: Alastair Houghton <email@hidden>
- Date: Wed, 28 Nov 2007 17:31:13 +0000
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:
This email sent to email@hidden