PDA

View Full Version : opengl in form .NET



dlswimmer
05-15-2004, 07:26 AM
I am placing a picture box in a form in which I am loading the opengl in the picture box. Everything is working fine with the opengl, but it seems that the painting of either the form or the picture box is overloading the rendering of the opengl. The scene flashes in the picture box for like a second, then dissapears. What can I do to stop the painting from drawing over my opengl picture box? Thank you.

dorbie
05-15-2004, 10:31 AM
I don't use the .NET gui stuff, but try deriving your opengl box from a simpler class that doesn't have it's own rendering, or at least one where you can completely overload the rendering call.