• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom-view cursor changing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Custom Formatters and NSTableView
  • Next by Date: CIColorMap filter usage
  • Previous by thread: Re: Custom-view cursor changing
  • Next by thread: CALayer - delegate not being called?
  • Index(es):
    • Date
    • Thread