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

Re: System contextual menus


  • Subject: Re: System contextual menus
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 31 Jan 2002 18:54:36 +0000

On Thursday, January 31, 2002, at 06:13 PM, David Catmull wrote:

on 1/31/02 8:37 AM, Ondra Cada <email@hidden> wrote:

The thing is that there is *NO* system-level API related to this; there
perhaps is a *FINDER* API which supports that, but that's all.

I get the impression that you don't understand what contextual menu plugins
are and how the API works.

Indeed... Ondra, perhaps you could refrain from jumping into every conversation that vaguely mentions Carbon/Classic and going off on a tangent ranting away until you're blue in the face, *AT LEAST UNLESS YOU HAVE A CLUE WHAT YOU ARE TALKING ABOUT*.

It's not a Finder thing, and it's not limited to
files. That just happens to be the most common use. It's like Services: it
can be used on any data type. I don't see any reason why a Cocoa app's
contextual menus can't use the existing CM plugin system. Sure, it wasn't
designed for Objective C, but that doesn't mean it's impossible.

I don't have much experience with CMs, but if they are related to menus then you can get a Carbon MenuRef from an NSMenu using a private AppKit function, and that might be of some use to you, not sure. I think OmniWeb manages it, I could be wrong.

-- Finlay


References: 
 >Re: System contextual menus (From: David Catmull <email@hidden>)

  • Prev by Date: Re: System contextual menus
  • Next by Date: Re: Localization Language priority ?
  • Previous by thread: Re: System contextual menus
  • Next by thread: Re: System contextual menus
  • Index(es):
    • Date
    • Thread