PDA

View Full Version : Borland C++ Builder and OpenGL



Bob
06-17-2002, 02:17 AM
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?

Mazy
06-17-2002, 03:08 AM
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.

Bob
06-17-2002, 07:37 AM
Yupp, that works great. Thanks alot!