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: Andreas Mayer <email@hidden>
- Date: Thu, 23 Jun 2005 15:58:23 +0200
Am 23.06.2005 um 15:23 Uhr schrieb C Thomas:
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.
Um... why not just overwrite that method?
I'd probably also overwrite drawDropHighlightOnRow: - just in case
it's made public in the future.
The worst thing that could happen, is that _drawDropHighlightOnRow:
is removed in a future version of the OS and your modification won't
be used any more.
While often there is also a possibility that a method's parameter
might change, that seems highly unlikely in this particular case.
Andreas
_______________________________________________
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