3

I know Skype does it - they have a special icon register to there. And then when user click on the icon, a drop down menu will appear...

Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
tom
  • 14,273
  • 19
  • 65
  • 124

2 Answers2

5

See the docs for status bar and NSStatusItem. You can also find tutorials and sample code by googling for NSStatusItem.

Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
  • Thanks! Additionally, how the item is "registered" such that it always there even if the machine reboots? – tom May 26 '11 at 06:30
  • The status bar item only shows up when your application is running, so you need to get the application to automatically start when the machine boots or when the user logs in. See http://stackoverflow.com/questions/3358410/programmatically-run-at-startup-on-mac-os-x – Kristopher Johnson May 26 '11 at 14:14
0

NSStatusItem is responsible for this.

nKognito
  • 6,297
  • 17
  • 77
  • 138
Barry Wark
  • 107,306
  • 24
  • 181
  • 206