• 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
Building menu's lazily
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building menu's lazily


  • Subject: Building menu's lazily
  • From: Hsu <email@hidden>
  • Date: Tue, 26 Aug 2003 01:16:51 -0700

Is there a way (Carbon or Cocoa) to build up a menu lazily?

I'm in the position of needing to build up a complex context menu dynamically, but the cost is relatively high (about a second on a G3/800). I could save a _lot_ of time if I could build up the menu lazily - immediately show the top level items (and possibly the submenus), but defer building the sub-submenus until they would be exposed by the user.

thanks,
Karl

--

It's always darkest just before it goes completely black.

Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
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: Building menu's lazily
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Custom Views in a NSForm/NSMatrix
  • Next by Date: Re: Window with no document ?
  • Previous by thread: Custom Views in a NSForm/NSMatrix
  • Next by thread: Re: Building menu's lazily
  • Index(es):
    • Date
    • Thread