• 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
Cocoa menus in Carbon App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa menus in Carbon App


  • Subject: Cocoa menus in Carbon App
  • From: Mark Suska <email@hidden>
  • Date: Sat, 11 Jun 2005 11:12:22 -0400

Does anybody know how to use a Cocoa menu and window within a carbon application?

I have looked at the CocoaInCarbon example application but it does not use Cocoa menus.
This example opens a Carbon window and a Cocoa window but uses only a Carbon menu.


Just adding a menu bar to the Cocoa nib does not work. When the Cocoa window is opened the menu bar becomes a mix of the Carbon menu that was there before and the Cocoa menu. The Carbon menus that are left in the menu bar continue to function but Cocoa menus do nothing when selected. Also, none of the items in the application menu work even if you use the keyboard shortcuts, for example, you can't quit the app using the menu nor by pressing Command-Q.

Thank,
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa menus in Carbon App
      • From: Eric Brunstad <email@hidden>
  • Prev by Date: Re: Custom bindings with gcc4.0 [was Cocoa app fails when using 10.4 Universal SDK]
  • Next by Date: Re: Am I overreleasing something?
  • Previous by thread: Re: Passing more than 1 variable to a method/function
  • Next by thread: Re: Cocoa menus in Carbon App
  • Index(es):
    • Date
    • Thread