Re: populate/resize an already open NSMenu in background
Re: populate/resize an already open NSMenu in background
- Subject: Re: populate/resize an already open NSMenu in background
- From: Martin Wierschin <email@hidden>
- Date: Mon, 29 Dec 2008 18:19:07 -0800
Hi Peter,
I have a menu that needs to be populated on demand, so I've set an
NSMenu delegate and note the update request in "menuNeedsUpdate:".
...
The problem is that the NSMenu will not resize itself to show
items added from outside of "menuNeedsUpdate:".
...
A third possible cause is that you're on Tiger. Changing a menu
while it is open is only supported on Leopard.
This was exactly it, as I still do most of my development on ye olde
Tiger. Everything works perfectly on Leopard. Not a big deal in this
case to make the feature 10.5 only.
Thanks for your help! Cheers,
~Martin
_______________________________________________
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