OpenGL in VCL

How to use OpenGL in VCL. How to draw about 1.000.000 points in a TForm or TPanel, or smf.

Just send the canvas.handle of the VCL that you want opengl inside to the opengl init routine ( where it wants a HDC)
works with everyting that has a canvas.

I would take better TWinControl.Handle and get a DC via GetWindowDC. I don’t trust a canvas handles, they could be released in a bad moment.