• 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
floating menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

floating menu


  • Subject: floating menu
  • From: Jonathan Sand <email@hidden>
  • Date: Fri, 5 Mar 2004 15:25:32 -0800

One of my application's windows has an NSMenu which pops up when you
hold down the control key and click the mouse (or when you click on the
right mouse button, if your mouse has one). As long as this menu has
appeared at least once, all of the key equivalents become "activated,"
ie, when you press the command key and the key equivalent, the action
associated with the menu item is performed.

The problem I'm trying to solve is that I'd like these key equivalents
to be activated whether or not the menu has appeared. I've looked high
and low for some programatic mechanism for "activating" the key
equivalents, to no avail. Neither calling update nor calling
performActionForItemAtIndex: on the menu object have the affect I seek.

Anybody encountered this behavior? Anybody found a solution?

email@hidden
_______________________________________________
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.


  • Follow-Ups:
    • Re: floating menu
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: OS X 10.3.x, Address Book, and initWithVCardRepresentation
  • Next by Date: true file modification dates...
  • Previous by thread: NSBrowser programatically selecting items
  • Next by thread: Re: floating menu
  • Index(es):
    • Date
    • Thread