• 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: NSMenuItem - setHidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSMenuItem - setHidden
      • From: Jonathan Hess <email@hidden>
    • Re: NSMenuItem - setHidden
      • From: Graham Cox <email@hidden>
References: 
 >Re: NSMenuItem - setHidden (From: chaitanya pandit <email@hidden>)

  • Prev by Date: Re: Custom view instantiated twice?
  • Next by Date: Re: Object change to NSView update
  • Previous by thread: Re: NSMenuItem - setHidden
  • Next by thread: Re: NSMenuItem - setHidden
  • Index(es):
    • Date
    • Thread