Re: nstableview in drawer resetting custom cursor
Re: nstableview in drawer resetting custom cursor
- Subject: Re: nstableview in drawer resetting custom cursor
- From: Quincey Morris <email@hidden>
- Date: Sun, 11 Apr 2010 11:58:58 -0700
On Apr 8, 2010, at 00:27, Nestor Cardozo wrote:
> This works fine. The problem is that when an object is added to the content array (a new row is added to the NSTableView), the mouse cursor is reset to the default arrow cursor. Even though, the cursor when the mouse is inside the NSView is set to a cross-hair cursor. Actually, when moving the mouse outside the NSView and back to the NSView the mouse cursor returns to the cross-hair cursor, which is how is supposed to be.
>
> So there is something in the NSTableView or in the enveloping NSScrollView that is resetting the mouse.
Take a look at -[NSScrollView setDocumentCursor:]. The scroll view has a nasty habit of resetting the cursor to this one when the relationship between the clip view and the content changes (as when you add rows).
_______________________________________________
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