• 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: Cocoa AU hosts Edit menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa AU hosts Edit menu


  • Subject: Re: Cocoa AU hosts Edit menu
  • From: Pavol Markovic <email@hidden>
  • Date: Thu, 26 Feb 2004 09:57:03 +0100

On Feb 21, 2004, at 3:30 PM, Pavol Markovic wrote:

I'm testing our AudioUnit GUI in some Cocoa hosts and I have problems with those with Edit Menu (GarageBand, Rax) - exactly with Cut, Copy, Paste commands.

I use Carbon Text Edit View (TXNObject), I've registered CarbonEvents handler for all needed events (mouse, raw key, etc.) but when I press Command+C(X,V) I don't receive any event. Only warning in console.log:
2004-02-21 09:43:20.309 GarageBand[603] SendEventToEventTarget() returned -9874.

-9874 means Event not handled.

For example, Numerology does not have Edit Menu, and all this stuff works here, also in Carbon AU hosts.

I'm sure I haven't received any event during Copy/Cut/Paste commands. Also when I select text in my text edit view, Cut, Copy menus are not active. Another Carbon-in-Cocoa problem?

So with cocoa-dev help I've found that I forgot to register and handle kEventClassCommand/kEventCommandProcess events.

Hopefully anybody using and patching vstgui with Quartz and Carbon Events will find this useful.

PM
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


References: 
 >Cocoa AU hosts Edit menu (From: Pavol Markovic <email@hidden>)

  • Prev by Date: Re: Changing the latency from within the render callback.
  • Next by Date: Re: HALOutputUnit (Pt 2)
  • Previous by thread: Cocoa AU hosts Edit menu
  • Next by thread: Callback problems
  • Index(es):
    • Date
    • Thread