Re: [us...@lists.monobjc.net] NSStatusbar code doesn't work

2010-01-31 Thread Laurent Etiemble
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 .

[us...@lists.monobjc.net] NSStatusbar code doesn't work

2010-01-29 Thread Yvan Janssens
Hi, I'm calling the following code in a AwakeFromNib: _statusItem = new NSStatusItem(); NSMenu menu = new NSMenu(""); _statusItem = NSStatusBar.SystemStatusBar.StatusItemWithLength(32); _statusItem.Im