I have a NSTableView that I subclass to override the highlighting like this:
[ObjectiveCMessage("highlightSelectionInClipRect:")]
public override void HighlightSelectionInClipRect(NSRect pClipRect) {
//to disable the highlighting
}
In the nstableview I have NSTextFieldCells, so to override the
highlighting of those cells I subclass nstextfieldcell and turn off
the highlighting like this:
[ObjectiveCMessage("highlightColorWithFrame:inView:")]
public override NSColor HighlightColorWithFrameInView(NSRect
cellFrame, NSView controlView) {
return null;
}
All of this works, both the table and cell isn't highlighted anymore.
The problem is the text color, if it is "highlighted" it still becomes white.
I've been unable to change this.
Any idea's on what I'm missing?