Multiple windows with MFC

Hi,

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

Tim

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/

Try this site also. http://www.codeproject.com/opengl/glenabledview.asp
It may give you a starting place.