Multiple windows with MFC


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


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.

Try this site also.
It may give you a starting place.