• 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: Daniel Meachum <email@hidden>
  • Date: Fri, 08 Jan 2010 11:04:42 +0900

Thank you Mr. Cox and Mr. Schlegel for your help. I'm using the nsmenuitem view to be displayed when clicking a status item (from the menu bar). Would it be better to display the view another way? Maybe in a window attached at the point of the status item?

On Jan 8, 2010, at 9:21 AM, Graham Cox wrote:

>
> 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: Eric Schlegel <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>)
 >Re: NSPopupButton menu not showing in custom view for NSMenuItem (From: Graham Cox <email@hidden>)

  • Prev by Date: Objective-C class generator for XML Schema
  • Next by Date: Using a NSButtonCell with template image in a NSTableView, through Interface Builder
  • 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