On 3 May '08, at 6:44 AM, [EMAIL PROTECTED] 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to