• 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: Dock NSMenuItem issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock NSMenuItem issues?


  • Subject: Re: Dock NSMenuItem issues?
  • From: Esteban <email@hidden>
  • Date: Sun, 5 May 2002 00:29:52 -0700

Make sure you are calling both setAction and setTarget. If the current target for the NSMenuItem is nil, then it will be dimmed, so its important to set the target the action will be executed from with setTarget.

-Esteban

On Saturday, May 4, 2002, at 11:06 PM, email@hidden wrote:

I'm trying to add some dynamic dock menu functionality to an app I'm working on and I keep getting gray-out NSMenuItem. I want to add an Action to these menu items but since they are gray-out they aren't selectable. Any suggestions on what I'm doing wrong when creating my dynamic NSMenuItem?

Pete
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Dock NSMenuItem issues? (From: email@hidden)

  • Prev by Date: Dock NSMenuItem issues?
  • Next by Date: nsthread_kill()
  • Previous by thread: Dock NSMenuItem issues?
  • Next by thread: nsthread_kill()
  • Index(es):
    • Date
    • Thread