I think my last question may have been to specific, so ignoring that one all together, I have a new question that is more general:
I am using C# with Visual Studio Express 2008. I am also using the Tao Framework OpenGL dlls.
What actually causes the SimpleOpenGLControl to redraw when I need it to redraw?
When the SimpleOpenGLControl resides on the active form, all I need to do in order to redraw is call glFlush()
and SimpleOpenGLControl.Invalidate()
.
However, when the control does not reside on the active form I can not get it to redraw, at all. I have found a way to get the control to invalidate through unorthodox means, but this does not redraw the contents of the control (the 3D rendering), it simply leaves me with a blank (black) control.
So, if there's a guru out there who can explain to me what I need to do in order to get the control to actually redraw, regardless of which form is active, then that'd be beyond awesome.