• 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 Application Main menu in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Application Main menu in code


  • Subject: Setting Application Main menu in code
  • From: RameshPVK <email@hidden>
  • Date: Tue, 27 Jun 2006 16:06:40 +0530

Hi ,

I am trying to create the application main menu without using nib. I created a menu object and set it to the application using - [NSApplication setMainMenu:] method. The menu which was created was having a single menu item with name 'Test'. But in runtime , the application also shows the Application menu without any items in it. I am unable to understand what is happening behind.

Is the application menu a part of the main menu. If yes , when the main menu is retrieved and print , it shows only one menu item in it.

	Can anyone explain about this?

Thanks,
Ramesh PVK	


_______________________________________________ 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
  • Prev by Date: Beginner Question About CustomView, -drawRect: and Plotting Data.
  • Next by Date: Re: space bar keyboard short cut
  • Previous by thread: Re: Beginner Question About CustomView, -drawRect: and Plotting Data.
  • Next by thread: adding action names in FirstResponder : MyDocument.nib vs. MainMenu.nib
  • Index(es):
    • Date
    • Thread