Render in dialox box

I want to render to a small area of a dialox box (opengl).
I tried in many ways, bun no luck… :frowning:

Anyone has an idea? code examples?
Not MFC, please… just win32.

I’ll be greatful!

As you can render on any HDC, you simply make a control inside your dialog on which you open the RenderContext.

You can find all you need here … good luck!

"This sample create an OpenGL rendering context in a dialog box and draw a simple cube. "

[This message has been edited by pleopard (edited 06-11-2001).]

thx for the answers,
but… I’m looking for an example that is NOT MFC…
does anyone have an idea?