Select root of NSMenu's Sub Menu?
Select root of NSMenu's Sub Menu?
- Subject: Select root of NSMenu's Sub Menu?
- From: Rob Petrovec <email@hidden>
- Date: Wed, 09 Oct 2002 03:17:44 -0700
Hey,
I have an NSMenu that I am building from scratch programmatically
(caling [NSMenu addItem] etc). It has a couple sub menu's in it. Each menu
item has an action associated with it and when the user selects a menu item
that action proc gets called with no problems... But when the user selects
the root of one of the sub directories (i.e. the menu item with the triangle
in the name). The action proc does not get called. Nothing happens. How
do I get these menu items to be selectable? They have action procs, and
their target is "self". What else do I have to do to them? Thanks for any
help you can give...
--Rob
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.