Re: Cocoa control in carbon window
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