• 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
Services CMM Working in Cocoa & Carbon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Services CMM Working in Cocoa & Carbon?


  • Subject: Services CMM Working in Cocoa & Carbon?
  • From: Bernie Zenis <email@hidden>
  • Date: Wed, 4 Sep 2002 00:00:21 -0400

Hi,

Has anyone come up with a CMM, which adds the Services menu to contextual menus, that works in both Cocoa and Carbon apps? I'm looking for an "elegant" solution. For example, I don't want to go looking through all the Info.plist files in all the apps & services in their folders when that's already been done by the system.

In Cocoa apps, my CMM works perfectly. (For those looking to do the same, here's a hint: [[[NSApplication sharedApplication] servicesMenu] update].)

In Carbon apps, my CMM gets a NULL from [gNSApp servicesMenu]. If I make a NSMenu and use [gNSApp setServicesMenu:servicesMenu], I get the "Cocoa app version" of the Services menu with all items disabled.

I suspect that there is something Cocoa related that would solve the problem (eg, maybe calling [gNSApp finishLaunching]?); but, I'm posting to both lists just in case.

BTW, when I searched the lists' archives there were too many hits to read them all.

Thanks,
Bernie
_______________________________________________
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: Services CMM Working in Cocoa & Carbon?
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Internal Error with July 2002 Project Builder.
  • Next by Date: Drag pasteboard only working within my app?
  • Previous by thread: Internal Error with July 2002 Project Builder.
  • Next by thread: Re: Services CMM Working in Cocoa & Carbon?
  • Index(es):
    • Date
    • Thread