Chris
Chris

Reputation: 117

Popup Window for StatusBar Item

I'm building an Application and it needs to have a status bar item and a custom popup window, that popups when the status bar item is clicked.

I know how to set up a status bar item and a nsmenu for it, but I need a custom window rather than a nsmenu.

An example for what I'm looking for would be Take Five by the IconFactory

I really hope you have any ideas how I can do it.

Upvotes: 1

Views: 2090

Answers (1)

Anne
Anne

Reputation: 27073

Checkout the following example project by Matt Gemmell:
Using MAAttachedWindow with an NSStatusItem

Screenshot:

enter image description here

Upvotes: 4

Related Questions