Re: Carbon-in-Cocoa Edit Menu Commands
Re: Carbon-in-Cocoa Edit Menu Commands
- Subject: Re: Carbon-in-Cocoa Edit Menu Commands
- From: Pavol Markovic <email@hidden>
- Date: Thu, 26 Feb 2004 09:38:50 +0100
On Feb 26, 2004, at 12:44 AM, Simon Fraser wrote:
Pavol Markovic wrote on 25/2/04, 6:31 am:
Hello dear cocoa-list,
I work on audio plugin (AU) that uses Carbon-View. This view has Text
Edit view based on MLTE TXNObject and registered carbon-event handler.
When this plug is used in Carbon apps (AU hosts) everything's fine,
when used in Cocoa apps and Edit menu is available (for example
GarageBand), keystrokes are transfered to my event handler, but not
commands (Copy, Cut, Paste). (NOTE: Cocoa apps without Edit menu -
Numerology for example - do not suffer from this problem. Looks like
Cocoa apps default Edit menu handler is not pushing these events to my
event handler. What do you think dear cocoa list?
Are you correctly handling the HICommand Carbon events for cut, copy
and paste?
Thanks!
I've overlooked this. Now I've registered
kEventClassCommand/kEventCommandProcess and now it's ok!
Pavol Markovic
_______________________________________________
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.