Open GianlucaGrotto opened 4 years ago
I noted that OpenGLControl has different behaviors if I set RenderContextType property to DIBSection or NativeWindow. In the first case the window doesn't disappear while in the second case disappear .
very disappointing behavior. I partially solved recreating the Handle.
I need to investigate more.
I have a Form with OpenGLControl inside (C# program).
Those are the properties:
_glcontrol.RenderContextType = RenderContextType.NativeWindow; _glcontrol.RenderTrigger = RenderTrigger.TimerBased; _glcontrol.OpenGLVersion = SharpGL.Version.OpenGLVersion.OpenGL4_4;
When the Window is undocked the OpenGLControl become White and I can't restore the control over the component.
Any idea in order to resolve this issue?
thank you very much []
(url)