Re: Problem with setting a cursor
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