• 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
NSPopUpButton Limitation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton Limitation?


  • Subject: NSPopUpButton Limitation?
  • From: Steve Gehrman <email@hidden>
  • Date: Thu, 17 May 2001 04:34:17 -0700

NSPopupButton seems to break when you try to use it with a menu that has submenus. The menu looks good and all the submenus popup correctly, but I can't find a way to find out which item was selected. The methods to get the selected item don't seem to work on submenus.

If I want a NSPopupButton with submenus, is it possible? Is it possible to subclass NSPopupButton and make this work? How could I create a menu, pop it up when the user clicked and figure out which item was selected?

steve


  • Follow-Ups:
    • Re: NSPopUpButton Limitation?
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: Type/Creator Codes
  • Next by Date: EOF on Mac OS X - was Re: Cocoa CGI
  • Previous by thread: NSTableView in an utility window
  • Next by thread: Re: NSPopUpButton Limitation?
  • Index(es):
    • Date
    • Thread