Re: NSMenuItem - setHidden
Re: NSMenuItem - setHidden
- Subject: Re: NSMenuItem - setHidden
- From: Graham Cox <email@hidden>
- Date: Sat, 23 Aug 2008 11:15:23 +1000
On 23 Aug 2008, at 5:30 am, chaitanya pandit wrote:
[itemToBeHidden setAutoEnablesItems:NO];
Don't call setAutoEnblesItems on the item you want to hide
(NSMenuItem) call it on the menu to which the item belongs (or is
gonna get added- NSMenu class)
-setAutoEnablesItems: doesn't affect visible/hidden, it affects
checked/unchecked. So it's unlikely to bear on this problem.
hth,
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