I assume you are letting the control actually highlight the selected rows?  If 
you are, then all the highlight/un-highlights are handled automatically.  Are u 
doing any sort of mouse tracking and highlighting code to determine which items 
are selected? Can you provide more info like just the code for section that 
implement the drag/drop parts and any mouse overrides?

-Tony


On Aug 16, 2010, at 6:28 PM, Erik Buck wrote:

> I have never seen the specific problem reported, but I have some suggestions:
> 
> 1) Are you using a retained or non-retain window as opposed to a buffered 
> window?  You want a buffered window.
> 2) Is the view layer backed?  I don't know ifthat could cause the problem, 
> but I is a path to investigate.
> 3) Have you turned on Quartz Debugging to see which areas of the window are 
> being redrawn?  If so, where the highlighted areas redrawn or not?
> 4) Are you recursively causing displays?  That doesn't work, so don't do it.  
> Have you tried [outlineView performSelector:@selector(display) withObject:nil 
> afterDelay:0.0f] instead of calling display again as the side effect of a 
> display message?
> 
> --- On Mon, 8/16/10, [email protected] <[email protected]> wrote:
> 
> From: [email protected] <[email protected]>
> Subject: concludeDragOperation
> To: "Cocoa-Dev Cocoa-Dev" <[email protected]>
> Date: Monday, August 16, 2010, 6:02 PM
> 
> The docs say:
> 
> Invoked when the dragging operation is complete, signaling the receiver to 
> perform any necessary clean-up.
> 
> My question is how does one clean up all highlight artifacts in an 
> NSOutlineView such as these:
> 
> http://highrolls.net/high_light_issue/page.html
> 
> I have tried -display , -reloadItem and reloadData all to no avail.
> 
> Steve Jobs was stumped and suggested this list might be helpful.
> 
> Was he right?
> 
> -koko
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/erik.buck%40sbcglobal.net
> 
> This email sent to [email protected]
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/tonyrom%40hotmail.com
> 
> This email sent to [email protected]
> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to