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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to