• 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: Possible to use Cocoa views in a Carbon window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible to use Cocoa views in a Carbon window?


  • Subject: Re: Possible to use Cocoa views in a Carbon window?
  • From: email@hidden
  • Date: Thu, 20 Feb 2003 22:42:41 +0100

On jeudi, fivrier 20, 2003, at 09:47 PM, Chris Ryland wrote:

On Thursday, February 20, 2003, at 03:07 PM, John C. Randolph wrote:
this doesn't actually support what the developer is looking for. Although we do allow creating an NSWindow for a WindowRef, or vice versa, this does not really support the granularity of putting an NSView in a Carbon window. Even if you do create an NSWindow for a WindowRef, event routing and drawing are still done by the >>> WindowRef.

If you need this capability, you should file a feature request at bugreporter.apple.com.

Integrating Carbon and Cocoa is a work in progress... More on this as it develops.

John--

Isn't there some danger that the Cocoa environment is compromised as a result? As a Cocoa newbie (but OO and systems veteran), I'm quite impressed with the cleanliness of the environment, and I've already read some rumblings on this list about Carbon-related changes under the wraps causing problems.

The only part I find Cocoa to be compromised is the management of menus:
- you can't easily change the way menus are displayed (Font size, etc...)
- you need to use tricky workaround to make Application Dock menu work completely
- you don't have access (at least easily) to some features which were demoed at WWDC 2000 (Dynamic Menu titles)
_______________________________________________
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.
References: 
 >Re: Possible to use Cocoa views in a Carbon window? (From: Chris Ryland <email@hidden>)

  • Prev by Date: Re: Cocoa w/Carbon Compile Warning
  • Next by Date: Re: Has My Image Been Premultiplied?
  • Previous by thread: Re: Possible to use Cocoa views in a Carbon window?
  • Next by thread: [NSTableView] Is this a OS X 10.2 bug in NSTableView?
  • Index(es):
    • Date
    • Thread