Cocoa controls on top of an OpenGL view
Cocoa controls on top of an OpenGL view
- Subject: Cocoa controls on top of an OpenGL view
- From: John Stiles <email@hidden>
- Date: Sun, 03 Jun 2007 11:12:47 -0700
Is there a recommended way to float Cocoa controls on top of an
NSOpenGLView?
In Carbon, we were able to do this by creating one window which
contained an AGL surface, and then a separate Carbon window. We
"combined" the two windows with window groups and the visual effect worked.
I'd be OK with this but I don't know if there is a Cocoa equivalent to
window groups, and if there is a simpler way, I'd like to know more. I
do know that, in general, Cocoa does not support Z-ordering for
controls, so that seems like a potential stumbling block.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden