On Wed, Sep 23, 2009 at 7:09 AM, Richardson, Irina
<[email protected]> wrote:
>                        error = GetIndMenuItemWithCommandID( NULL,
> kHICommandHide, 1, &applicationMenu, &outIndex);

Cocoa doesn't have this concept of command IDs.  It looks like you
want to remove the hide menu item's key equivalent.  In that case,
open MainMenu.xib and delete the Hide menu item.

Just like it tells you to do in TN2062 where this code was copy-pasted
out of: http://developer.apple.com/mac/library/technotes/tn2002/tn2062.html

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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