Borland C++ Builder and OpenGL

Hi

Have been playing some with Borland C++ Builder 5 lately, and now I have a question. I know how to create a window and use the entire window for OpenGL. But I would like to create a smaller OpenGL window inside a dialog, instead of using the entire window. Just like a button, text box, bitmap, or any other control, but I want to render with OpenGL to it. Can anyone give me some hints?

You can put a panel on a form and use that panels handle (hWnd) to initialze ogl with… then it only lives it that panel.

Yupp, that works great. Thanks alot!