• 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
System contextual menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

System contextual menus


  • Subject: System contextual menus
  • From: Rainer Brockerhoff <email@hidden>
  • Date: Wed, 30 Jan 2002 12:56:03 -0200

I'm implementing some contextual menus in a Cocoa application and was struck by the apparent omission of a Cocoa way to get the system-wide contextual menu and add items to it (as found in Carbon, with the ContextualMenuSelect() call).

A search of the docs, Google, and list archives yielded no useful hints...

I suppose I'd need to implement sendEvent: in my window, somehow convert the event to the Carbon Event Manager format, call IsShowContextualMenuClick(), then ContextualMenuSelect(), then... hmmm...

Anybody's done that sort of thing...? TIA,

--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)


  • Follow-Ups:
    • Re: System contextual menus
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: NSDictionary
  • Next by Date: Re: System contextual menus
  • Previous by thread: NSDocument: File attributes for backup file?
  • Next by thread: Re: System contextual menus
  • Index(es):
    • Date
    • Thread