Setting Application Main menu in code
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