OpenGL within small part of screen

Hi,

is it possible to use OpenGL for only a small part of the screen? I would like to present 3D-graphics in my windows application, but I don’t want to use OpenGL for all the graphics. I want it to be integrated with the rest of the graphics. Today, I use only such functions as provided by the windows.h file, creating the graphics (windows, buttons) on my own. I don’t use any high-level api like MFC.

Thanks and regards,
Lunis

Have you tried passing appropriate arguments to glViewport ? I mean, there must be a call to glViewport
somewhere in your program. I’ve not tried yet, but I
think that it allows you to specify exactly which region
of your window is managed by OpenGL. Hope that helps…