• 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: Carbon pasteboard/service events not firing in Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon pasteboard/service events not firing in Cocoa app


  • Subject: Re: Carbon pasteboard/service events not firing in Cocoa app
  • From: Kevin Walzer <email@hidden>
  • Date: Tue, 20 Apr 2010 18:02:26 -0400
  • Organization: WordTech Communications LLC

On 4/20/10 5:52 PM, Peter Ammon wrote:

I'm not sure how to fix this. In my Carbon application, simply installing these event handlers made the Services menu available. It's not clear to me why the kEventServiceCopy event does not fire, but the kEventServiceGetTypes event (necessary to determine if my app provides a service) and kEventServicePerform (to perform the service) do fire.

Any advice is appreciated.

--Kevin


Hi Kevin,

These events only fire in an app with a Carbon menu bar.  If your menu bar is Cocoa (that is, you install it with -[NSApplication setMainMenu:]) then you will need to implement the Cocoa Services APIs.

-Peter



Hi Peter,

Thanks for the clarification. Looks like it's back to the drawing board for me.

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Carbon pasteboard/service events not firing in Cocoa app (From: Kevin Walzer <email@hidden>)
 >Re: Carbon pasteboard/service events not firing in Cocoa app (From: Peter Ammon <email@hidden>)

  • Prev by Date: Re: Carbon pasteboard/service events not firing in Cocoa app
  • Next by Date: Re: Baffling Button Behavior [SOLVED]
  • Previous by thread: Re: Carbon pasteboard/service events not firing in Cocoa app
  • Next by thread: Drawing glitches in NSTableView with variable row hight (just like Console.app)
  • Index(es):
    • Date
    • Thread