With the help of MacOSLib, I could set up a NSStatusItem in my Macs status bar and can handle it so far. I had the idea to have important message show up as a popup menu underneath just the line with the information and having this addendum disappear once it is clicked. So on setting up the Statusitem, I finish with a
dim alertmenu as new NSMenu
call alertmenu.Append (whatsoever text)
Everythings fine, it pops up as intended.
But how can I determine if it has been clicked? It is not part of the Statusitems handler, and while the latter was set up on appending the status item to the system bar, there seems to be not similar declaration for a popup.