Borland C++ Builder and OpenGL

I am trying to have the OpenGL window opened if a button on Borland’s Form1 is pressed. Does anyone know how to do this? A suggestion/code is very much appreciated.

Thanks,
Sufian.

You only have to make a function which creates rendering context when the key is pressed.
Look at the tutorials from http://nehe.gamedev.net there are a lot of them also for C++ Builder.

yaro

glYaro,

I have checked the website but it’s very confusing to choose which bits to use and discard. Do you mind helping me please.

Suf

There are links to free BCB/OpenGL components at the bottom of my web site.

Regards,
Scott http://members.cox.net/scottheiman