• 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
Re: NSPopupButton menu not showing in custom view for NSMenuItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton menu not showing in custom view for NSMenuItem


  • Subject: Re: NSPopupButton menu not showing in custom view for NSMenuItem
  • From: Graham Cox <email@hidden>
  • Date: Fri, 8 Jan 2010 11:21:35 +1100

On 08/01/2010, at 5:48 AM, Eric Schlegel wrote:

>
> On Jan 7, 2010, at 7:16 AM, Daniel Meachum wrote:
>
>> I'm trying to use an NSPopupButton inside of a view nested in an NSMenuItem (development for OS X 10.6 only). The menu is created but it refuses to popup/out of the button. No Console messages are displayed or UI feedback. I originally found the problem while programmatically creating the view but also reproduced it in IB with the following steps:
>
> So you're trying to display the menu attached to the NSPopupButton, while the menu containing the NSPopupButton is open? That won't work - the Menu Manager doesn't support recursive display of menus.


Not to mention that this is a travesty of UI design. If you want a submenu of a menu item, why not just use a - uhm, submenu?

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSPopupButton menu not showing in custom view for NSMenuItem
      • From: Daniel Meachum <email@hidden>
References: 
 >NSPopupButton menu not showing in custom view for NSMenuItem (From: Daniel Meachum <email@hidden>)
 >Re: NSPopupButton menu not showing in custom view for NSMenuItem (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: Problems Fading Out Music
  • Next by Date: Re: Optimizing View Drawing Code
  • Previous by thread: Re: NSPopupButton menu not showing in custom view for NSMenuItem
  • Next by thread: Re: NSPopupButton menu not showing in custom view for NSMenuItem
  • Index(es):
    • Date
    • Thread