2009-10-30 15:40:27 UTC
I have a little problem with DockPanel when using my OpenGL engine.
Firstly in order to use my engine in C# I created a control that handles everything.
I put that into a Form that inherits DockContenent.
I've read around that everything get's recreated when the document is docked or made into a floating window so that means the handles get that also.
I've found some solutions for c++ but I use C# and I don't have HandleDestroied event here.
If possible I just want a simple explanation on how to fix this.
I'm not sure how to do the thing with the parent before and after dockstate gets changed since I only have 2 events "DockChanged" and "DockStateChanged".
Could anyone please help me?
This is really keeping me from making my sandbox.
Thanks