PDA

View Full Version : Subwindows in MFC, OpenGL



JoNy
05-08-2001, 06:03 AM
Hi,
I use MFC and want to create a document-window with many Subwindows, and OpenGL scenes rendered in each one of them. Anyone knows how to do this or where to get information about it?
Thanks/Jo

Boresight
05-08-2001, 09:56 AM
Is a MDI application?

What do you need know?

If the problem is have a lot OpenGL context, you must set the current context before begin to draw on the specific window.

Joel
05-08-2001, 11:57 AM
I think this is what you want.

Joe Houston, Creating 3D Tools with MFC.
http://www.gamedev.net/reference/programming/features/3dmfc/

This is an excellent tutorial on the use of OpenGL and MFC Splitter Windows.

Joel