• 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: Changing drag-on selection highlight in NSTableView/NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing drag-on selection highlight in NSTableView/NSOutlineView


  • Subject: Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
  • From: C Thomas <email@hidden>
  • Date: Thu, 23 Jun 2005 08:23:09 -0500


Bizarre to reply to myself, but I thought I would add the answer to this question in the knowledge base.


It turns out that NSTableView does this through a private :( method called _drawDropHighlightOnRow: . Totally undocumented, of course. Oh well, I guess I'll have to live with the ugly black rectangular selection.




On Jun 22, 2005, at 5:58 PM, C Thomas wrote:


I've been trying to find a method to implement a nicer drop-on selection highlight than the default black-outline rectangle. I'd like something nice like the Finder or Mail.app's faded-blue rounded rectangle when you drag and drop files in a folder.


I've seen ways of customizing highlighting behavior of normal selections by overriding
- (void) highlightSelectionInClipRect:(NSRect) clipRect . So far I can't find anything comparable for drop-on highlighting...


Can someone point me in the right direction?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
      • From: Andreas Mayer <email@hidden>
References: 
 >Changing drag-on selection highlight in NSTableView/NSOutlineView (From: C Thomas <email@hidden>)

  • Prev by Date: CoreData: get/set methods in undo and flushing of caches
  • Next by Date: Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
  • Previous by thread: Changing drag-on selection highlight in NSTableView/NSOutlineView
  • Next by thread: Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
  • Index(es):
    • Date
    • Thread