• 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: dockMenu bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dockMenu bug?


  • Subject: Re: dockMenu bug?
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 3 May 2008 08:46:57 -0700


On 3 May '08, at 6:44 AM, email@hidden wrote:

I'm having this problem where I cannot hide menu items in my dock
menu. [menuItem setHidden:YES] does nothing, nor does checking the
"Hidden" checkbox in IB. The dock menu itself is created in IB and
connected to NSApp's dockMenu outlet. Is this a bug or am I missing
something?

"Bug", I guess; really, the dock menu doesn't support all the functionality of a real NSMenu, since it's implemented differently — the NSMenu object is just a proxy, and the actual menu is managed by the Dock process. (I believe the app sends IPC messages to the Dock process telling it what menu items to show, and the Dock sends back IPC messages when the user chooses an item.)


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: dockMenu bug?
      • From: email@hidden
References: 
 >dockMenu bug? (From: email@hidden)

  • Prev by Date: Re: Text attachment not deleted from NSTextView
  • Next by Date: Re: Converting XML to NSDictionary
  • Previous by thread: dockMenu bug?
  • Next by thread: Re: dockMenu bug?
  • Index(es):
    • Date
    • Thread