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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com