Re: Changing drag-on selection highlight in NSTableView/NSOutlineView
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