• 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
Select root of NSMenu's Sub Menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Select root of NSMenu's Sub Menu?
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: NSTableView Drag & Drop... Well, Maybe
  • Next by Date: Re: Select root of NSMenu's Sub Menu?
  • Previous by thread: lockFocus sent to a view whose window is deferred
  • Next by thread: Re: Select root of NSMenu's Sub Menu?
  • Index(es):
    • Date
    • Thread