Re: Cocoa UI In Carbon App Issues.
Re: Cocoa UI In Carbon App Issues.
- Subject: Re: Cocoa UI In Carbon App Issues.
- From: Uli Kusterer <email@hidden>
- Date: Mon, 26 May 2008 09:12:10 +0200
Am 26.05.2008 um 08:52 schrieb Vijay Malhan:
I presume, even the Cocoa uses Carbon Menu's within. Only thing I
suspect is
that routing of handler-calls to actual Cocoa controls (NSTextField)
via
Cocoa event handler is missing, just like in many other similar cases.
This pretty much just worked for us. Just make sure you've set the
menu items' HICommands to the standard commands that Apple provides,
and not to some numbers of your own or whatever C++ framework you use.
And of course, you could have installed an kEventCommandProcess
handler of your own that intercepts the commands that you'd have to
change to take account of the presence of Cocoa windows and make it
return eventNotHandledErr in that case.
But barring that, it worked fine for us on Leopard (I think we had
one or two Tiger issues that we had to work around with our own event
handlers, but that might well have been things in our framework that
won't apply to you).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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