Which method should I subclass to change the drawing when a row is right-mouse clicked? (I want to change it in selecting the row).
+2
A:
Implement the delegate method tableView:willDisplayCell:forTableColumn:row:
Diederik Hoogenboom
2010-03-20 09:44:59
Hmm, maybe I explained my problem not good enough. I mean when you right-click on it. Then you get this blue focus thing (like when you drop a file on an NSTableView) and as far as I can tell it's not the focusring from the NSView http://img15.imageshack.us/img15/7310/picture5nn.png(got this from the DragNDropOutlineView example from Apple)
2010-03-20 15:13:08
+2
A:
It sounds to me like you want the highlightSelectionInClipRect:
method.
If you're looking to make a source list (like in iTunes, Mail, and the Finder), you should use the setSelectionHighlightStyle:
method (or set that property in IB) instead.
Peter Hosey
2010-03-20 10:19:43