• 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: FW: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa?


  • Subject: Re: FW: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa?
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 23 Sep 2009 19:19:27 -0700

On Wed, Sep 23, 2009 at 7:09 AM, Richardson, Irina
<email@hidden> 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@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

References: 
 >FW: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa? (From: "Richardson, Irina" <email@hidden>)

  • Prev by Date: Re: Snow Leopard: unsupported PointerFunctions configuration was requested
  • Next by Date: Re: Snow Leopard: unsupported PointerFunctions configuration was requested
  • Previous by thread: Re: GetIndMenuItemWithCommandID / SetItemCmd on 64-bit? Cocoa?
  • Next by thread: Mouse moved events lost in Snow Leopard
  • Index(es):
    • Date
    • Thread