title: Customize right click highlight on view-based NSTableView
body: <p>I have a view-based NSTableView with a custom NSTableCellView and a custom NSTableRowView. I customized both of those classes because I want to change the appearance of each row. By implementing the [NSTableRowView draw...] methods I can change the background, the selection, the separator and the drag destination highlight.</p>
  
  <p>My question is: how can I change the highlight that appears when the row is right clicked and a menu appears?</p>
  
  <p>For example, this is the norm:</p>
  
  <p><img src="https://i.stack.imgur.com/1eaDy.png" alt=""></p>
  
  <p>And I want to change the square highlight to a round one, like this:</p>
  
  <p><img src="https://i.stack.imgur.com/4YD2c.png" alt=""></p>
  
  <p>I'd imagine this would be done in NSTableRowView by calling a method like drawMenuHighlightInRect: or something, but I can't find it. Also, how can the NSTableRowView class be doing this if I customized, in my subclass, all of the drawing methods, and I don't call the superclass? Is this drawn by the table itself?</p>
  
  <h2>EDIT:</h2>
  
  <p>After some more experimenting I found out that the round highlight can be achieved by setting the tableview as a source list. Nonetheless, I want to know how to customize it if possible.</p>