[.net] OpenGL in a form
Hi
Don't know if it's the good forum, but let's give a shot...
I can render OpenGL stuff in a System::Windows::Forms::Form but I can't in a (let's say) System::Windows::Forms::Panel. I want to render in a Panel because I defines its Dock style as Fill, so it resizes automatically. Does any one have an example ?
Thx
How do you create the opengl context? If Panel exposes the window handle as a public property (like Form and Control do), then you can use that to create the opengl context using the wgl* functions.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement