I’m working on a MFC-based windows program. right now i need to embedd an OpenGL window in a static control to be used in a dialog box or a form view, any info appreciated!
If you’re using MFC, make a derived class of CStatic. Pretend that the CStatic is just a CWnd, and do all your normal OpenGL stuff. Problem solved. And you will need to do some subclassing in order to throw this in the dialog template.
Unfortunately, I don’t know nearly as much about pure Win32 programming as I do about MFC, so if you’re not using MFC, I can’t help you.
Good example here of OpenGL in a dialog… http://codeguru.earthweb.com/opengl/texture_mapping.shtml