On Jun 1, 2009, at 2:59 AM, Vijay Kanse wrote:

Sorry for My Question,
Actually i was dragging NSMenu from Library and I was trying to Add it as
Sub Menu.

Ah, the problem here is that NSMenu instances contain an array of NSMenuItem instances. NSMenuItem instances can each contain a single NSMenu.

The hierarchy of a main menu would look something like this:

NSMenu (Main Menu)
        NSMenuItem(File)
                NSMenu(File)
                        NSMenuItem(Open)
                        NSMenuItem(Save As)
                        …
        NSMenuItem(Edit)
        NSMenuItem(View)

Jon Hess



Thanks For guiding me right way.


On Mon, Jun 1, 2009 at 2:49 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:

On Mon, Jun 1, 2009 at 12:39 AM, Vijay Kanse <vijay.ka...@avinashi.com >
wrote:
I am not able to drag NSMenu to main menu. and i am not able to do it by
coding as well.

Really?  There's an Edit menu in the IB library which you should be
able to just drag to the main menu in your MainMenu.nib.  If this
isn't working for you, please explain exactly what you're trying to
do.

--Kyle Sluder

_______________________________________________

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/jhess%40apple.com

This email sent to jh...@apple.com

_______________________________________________

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