Re: dockMenu bug?
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