• 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
Re: Menu bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu bar


  • Subject: Re: Menu bar
  • From: j o a r <email@hidden>
  • Date: Sun, 14 May 2006 11:11:31 +0200


On 14 maj 2006, at 10.23, JuanC wrote:

I'm working on an application that uses several modules, each of them use an specific menu bar, this approach is OK using Classic Mac, only need a "MBAR" resource for each module.
My question: What is the equivalence using Cocoa? or how can I make several menu bars?
Thank you very much in advance.

Menus are usually created with Interface Builder, and persisted in nib files (it's file format). If you run _any_ tutorial for creating a Cocoa application, you can see how the main menu of that application is stored in one of it's nib files - usually "MainMenu.nib".


Check the API reference for NSApplication for more information on how to access the main menu of an application.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Menu bar (From: JuanC <email@hidden>)

  • Prev by Date: Menu bar
  • Next by Date: Re: compressing an NSString
  • Previous by thread: Menu bar
  • Next by thread: ATSUI text in an NSView problems
  • Index(es):
    • Date
    • Thread