• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting cocoa application in system menu bar.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting cocoa application in system menu bar.


  • Subject: Setting cocoa application in system menu bar.
  • From: Vijay Kanse <email@hidden>
  • Date: Thu, 29 Jan 2009 10:09:22 +0530

Hello,
I need my application to set in system menu bar.
I am able to set in menu bar. and i am getting all the events associated
with application click menu.
I stetted two click events on menu bar. openWindow and quit. on click of
openWindow I am loading nib file. this nib contains multiple windows.

-(void)openWIndow:(id)sender
{
      [NSApplication sharedApplication];
      [NSApp setDelegate:self];
      [NSBundle loadNibNamed:"MainMenu" owner:self];
}

it is only showing the windows which has mark true visible at launch in IB.
and other window is showing their address 0x00 at a time of debugging. that
means all the windows are not
initialized.
I am taking reference from:
http://th30z.netsons.org/2008/10/cocoa-system-statusbar-item-aka-traybar/


Thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Detecting Initialization
  • Next by Date: URL Parsing
  • Previous by thread: Re: Plain Text UTI Madness
  • Next by thread: URL Parsing
  • Index(es):
    • Date
    • Thread