An NSMenuItem's view (an NSView descendent) isn't highlighting on hover

Posted by Alexsander Akers on Stack Overflow See other posts from Stack Overflow or by Alexsander Akers
Published on 2010-05-27T00:14:43Z Indexed on 2010/05/27 1:21 UTC
Read the original article Hit count: 379

I need to use a custom NSView subclass to draw some content, but it isn't drawing as highlighted when the user hovers and it doesn't dismiss the NSMenu when the user clicks on it. Any ideas?

Edit

It's a subclass, not a descendent.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa