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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to