• 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 UI In Carbon App Issues.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Cocoa UI In Carbon App Issues. (From: "Vijay Malhan" <email@hidden>)
 >Re: Cocoa UI In Carbon App Issues. (From: Kevin Grant <email@hidden>)
 >Re: Cocoa UI In Carbon App Issues. (From: "Vijay Malhan" <email@hidden>)

  • Prev by Date: Re: Cocoa UI In Carbon App Issues.
  • Next by Date: NSCombobox on a custom view
  • Previous by thread: Re: Cocoa UI In Carbon App Issues.
  • Next by thread: Re: Cocoa UI In Carbon App Issues.
  • Index(es):
    • Date
    • Thread