Hello,
It seems that you have forgotten to retain the status item right after
its creation. Moreover, some code seems redundant (the first line is
not necessary).
I suggest you to read this tutorial about NSStatusItem:
http://www.mactech.com/articles/mactech/Vol.24/24.07/NSStatusitem/index.html
.
Hi,
I'm calling the following code in a AwakeFromNib:
_statusItem = new NSStatusItem();
NSMenu menu = new NSMenu("");
_statusItem =
NSStatusBar.SystemStatusBar.StatusItemWithLength(32);
_statusItem.Im
2 matches
Mail list logo