View Full Version : Multiple windows with MFC

06-26-2002, 09:50 AM

I am very new to OpenGL, and was wondering where can I find good material on how to provide an MFC dialog box with an OpenGL window that can be split. I want to add a button to my dialog that divides the viewport into anywhere from 2 to 6 viewports. Does anyone know where I can find code that can do this or a good starting place?

Thanks a lot


06-27-2002, 04:13 AM
Try this article for an MD3 viewer, it includes source code which produces an OpenGL splitter window. You should be able to translate this in to a dialog box as required.
www.gamedev.net/reference/programming/features/3dmfc/ (http://www.gamedev.net/reference/programming/features/3dmfc/)

06-27-2002, 11:31 AM
Try this site also. http://www.codeproject.com/opengl/glenabledview.asp
It may give you a starting place.