title: An NSMenuItem's view (instance of an NSView subclass) isn't highlighting on hover
body: <p>I need to use a custom <code>NSView</code> subclass to draw some content, but it isn't drawing as highlighted when the user hovers and it doesn't dismiss the <code>NSMenu</code> when the user clicks on it. Any ideas?</p>
  
  <h3>Edit</h3>
  
  <p>So using <code>-drawRect:</code> and <code>[[self enclosingMenuItem] isHighlighted]</code> I'm able to tell whether or not I need to draw the view as highlighted and am given the chance to do so. All I have to figure out is how to do that.</p>