NSTableView and NSSearchField in an NSView, which is the outlet of an NSMenuItem, don't work

Posted by Koning Baard XIV on Stack Overflow See other posts from Stack Overflow or by Koning Baard XIV
Published on 2010-03-20T14:45:47Z Indexed on 2010/03/20 14:51 UTC
Read the original article Hit count: 709

Filed under:
|
|
|
|

I'm having an NSView, which is set as the view: outlet of an NSMenuItem. The view contains an NSTableView (inside an NSScrollView) and an NSSearchField. The NSMenu is shown when the user clicks a specific NSStatusItem. When I launch the application from Xcode (Build and Run), the controls behave well, but whenever I launch it from the Finder (like the users would), they don't work and don't take any focus. My application is an LSUIElement. Can anyone help me out? Thanks.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about nsmenuitem