View Full Version : How to implement an openGL window into a "Windows-window"

06-12-2005, 09:39 AM
Till now I used glutCreateWindow("Name"); to create an OpenGL window. But now I would like to include the graphics-area into a "normal windows-window". How can this be done? I use Borlad C++ Builder for coding.

Thank you very much in advance!

06-12-2005, 10:09 AM
After having a quick search for HWND and HDC in glut.h I've come to the conclusion that this is impossible using GLUT.
However, it is trivial using the standard wgl functions.
By the way, this topic most certainly belongs in the beginners forum, as it's a basic 'getting opengl up and running in win32' problem.