• 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 control in carbon window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa control in carbon window


  • Subject: Re: Cocoa control in carbon window
  • From: Philip Dow <email@hidden>
  • Date: Tue, 10 Jan 2006 19:46:07 +0100

I was looking to add an HIView to a cocoa window. I wanted to do video-stream rendering in the HIView under the impression that it would be faster without the cocoa overhead. Am I correct to think that? If so, I suppose I could still do the drawing in the view without it being associated with a window and then grab the contents of the HIView and copy them over to the NSView. I don't know if that would counter any potential speed improvements though.

-Phil

On Jan 10, 2006, at 5:02 PM, Damien Bobillot wrote:

Daniel Jalkut wrote :

Which means, just to put nasty ideas into peoples heads, you could for instance put a transparent Cocoa window in front of your Carbon window, with just the Cocoa control of interest as its content. Yuck! It would probably be easier to change the window wholesale to whichever API best suits your needs.

Writing a cocoa NSView redirecting all events (user, drawing, drag...) to a carbon HIView, would be a better solution, if it is possible.


--
Damien Bobillot



_______________________________________________ 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 control in carbon window
      • From: j o a r <email@hidden>
References: 
 >Cocoa control in carbon window (From: Philip Dow <email@hidden>)
 >Re: Cocoa control in carbon window (From: j o a r <email@hidden>)
 >Re: Cocoa control in carbon window (From: Daniel Jalkut <email@hidden>)
 >Re: Cocoa control in carbon window (From: Damien Bobillot <email@hidden>)

  • Prev by Date: Re: Custom Palette and NSImage
  • Next by Date: filtering with master-detail and core data
  • Previous by thread: Re: Cocoa control in carbon window
  • Next by thread: Re: Cocoa control in carbon window
  • Index(es):
    • Date
    • Thread