Setting cocoa application in system menu bar.
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