Creating a Menu Bar item on the right side.


[​img]
how start this? need create bundle? have searched nsmenu's in menu bar , nothing has came own. :eek: in right direction nice!
 

if mean status bar icon must add:
code:
<key>lsuielement</key>  <true/>
to info.plist file make "dockless", add status item programmatically:

code:
statusitem = [[nsstatusbar systemstatusbar] statusitemwithlength:30];  [statusitem settarget:self];  [statusitem setaction:@selector(showmenu)];  [statusitem sethighlightmode:yes];  [self setstatusitem:statusitem withvalue:@"menutitle" andimage:nil];  [statusitem retain];
hope helps,
manty
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

need help with itunes 7.7

Rogers Listens.

Font book issue in firefox3