Dialog in OGL

I wonder if it’s possible to use the OpenGL graphics with standard API dialog in the same time. For example I’d like to have a simple dialog box with all buttons, textboxes etc… and in the one of the corners of the window there would be to small view of graph made in OGL. How can I do this?

Thanks!

Yes, that’s perfectly possible. Either you do it yourself with window-manager-dependant code,
or you use an API for this. Search for GLUI or FLTK in google. (these are two such APIs)

Thanks