Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible to show cocoa controls over QCView?



Is it possible to show cocoa controls over QCView?
I know its possible with NSOpenGLView but how about a QCView?
Because it seems that QCView always draws to the top level...


The QCView acts the same as a NSOpenGLView. The solution is to create a child window ontop of the window that has the QCView, make it transparent and with Cocoa controls.


Look on http://developer.apple.com for some sample that shows how to do that

Yea, that was exactly what I was thinking was necessary...

Just out of curiosity, what is the reason they are not composited
together like one would think... is it because an openGL context
is not compatible with a CGContext? But with Quartz2d Extreme
shouldn't they be one in the same?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Possible to show cocoa controls over QCView? (From: email@hidden)
 >Re: Possible to show cocoa controls over QCView? (From: Pierre-Olivier Latour <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.