• 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: Problem with setting a cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with setting a cursor


  • Subject: Re: Problem with setting a cursor
  • From: Gideon King <email@hidden>
  • Date: Tue, 8 Jun 2010 14:15:00 +1000

Thanks Jim - I switched it over and it works fine, and with much less overhead on mouse moved too.

Regards

Gideon

> If I understand correctly you are calling NSCursor's -set from within your view's -mouseMoved: method.  If you are just changing cursor to indicate resize control areas, it would probably be cleaner to override the view's -resetCursorRects: method and add cursor rects there, rather than try to force a change when an event is being handled.
>
> Jim McGowan_
_______________________________________________

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: 
 >Re: Problem with setting a cursor (From: Jim McGowan <email@hidden>)

  • Prev by Date: IKImageView image position
  • Next by Date: Printing and Segmented Control state
  • Previous by thread: Re: Problem with setting a cursor
  • Next by thread: Custom field editor context menu
  • Index(es):
    • Date
    • Thread