• 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: Customizing the drop highlight on a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing the drop highlight on a NSTableView


  • Subject: Re: Customizing the drop highlight on a NSTableView
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 02 Mar 2011 13:50:58 -0800

On Mar 2, 2011, at 1:04 PM, Eric Gorr wrote:

> I found this old thread:
>
> http://lists.apple.com/archives/cocoa-dev/2005/Jun/msg01922.html
>
> which talks about overriding the private method:
>
> _drawDropHighlightOnRow:
>
> Now, I tried this out, and while the method does get called, it no longer appears to control the drop highlight of a row.
>
> I am using the 10.5 SDK, so don't have access to -setDraggingDestinationFeedbackStyle:
>
> What are my options for customizing the drop highlighting for a NSTableView?

There are no customization options for 10.5.

>
> The highlighting I want is for it to draw the drop indicator between rows and to never highlight an entire row. If this is possible under the 10.5 SDK, I would be interested in being pointed to it.

Oh yeah, that is easy! In the delegate method for  -acceptDrop just return "NO" when it asks for a drop "on".

corbin


_______________________________________________

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: 
 >Customizing the drop highlight on a NSTableView (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Editing a list of NSMutableStrings
  • Next by Date: Re: Customizing the drop highlight on a NSTableView
  • Previous by thread: Customizing the drop highlight on a NSTableView
  • Next by thread: Re: Customizing the drop highlight on a NSTableView
  • Index(es):
    • Date
    • Thread