NSStatusItem with custom NSView and CALayer not drawing blue color when clicked

Posted by Alexsander Akers on Stack Overflow See other posts from Stack Overflow or by Alexsander Akers
Published on 2010-05-10T01:29:54Z Indexed on 2010/05/10 1:38 UTC
Read the original article Hit count: 502

Filed under:
|
|
|
|

I have an NSStatusItem with a subclassed NSView. The view's contents are drawn by its CALayer. Now, whenever the view is clicked, the mouseDown: method fires, but the NSStatusItem's background color doesn't change.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nsstatusitem