How can I show the menu bar

Dear All,


I have a status bar app which can open its popover window even with hotkey if the menu bar is visible on the screen. If the menu bar is hidden, the popover window will open at the left bottom corner on the screen and not its own status bar position as I expected.

Have any of you some idea that how can I show/unhide the menu bar when it is hidden? Or is there any other way to open NSpopover? As I know NSPopover needs a View, and in this case the view is hidden (NSStatuItemView is hidden with the menubar too).


Thanks for your help.

How can I show the menu bar
 
 
Q