reserve a zone in MFC application for opengl/buttons

Hello, i want to develope a simple demo with opengl
i created a win32 application, but now i want to create MFC Appwizard Exe (VC++ 6) Dialog Based, and i want to deserve a zone to put a opengl view (a black screen to draw scenes), an another zone to put controls like buttons,…

How can i do this??


You should just be able to put a static control on the dialog, then get the HDC for that control to use for initializing the OpenGL.

See for examples.