Hi folks!
I want to create a level editor using c# and Direct3D.
At the beginnning i tested my stuff rendering directly to the form.
Now i render to an object derived from panel. Everything works fine, but
all the form's other controls aren't repainted.
the panel itself as well as the device, etc. is contained in a simple manager class.
Does anybody know, if that is a common problem, or am i doing something wrong
Shall i post some of my code
I hope, i wont have to write my own gui controls using d3d like in the sample framework ;)
Does anyone have a clue
thanks,
Martin

Background doesn't repaint
TrevorSB
I've handled a few events that help. I've also implemented the 'reset device' logic in case the d3d device is lost.
Any advice you can share with me
Is it better to render to a panel instead of a picturebox
Thanks!!
David
William K
I don't think it makes a difference, using a picturebox or a panel...
Bye,
Martin
Olivier Cueilliez
But for the rest of the forum...
I believe the big key to my problem is to create a derived class from the picturebox so I can 'override' functions as necessary.
Thanks!
dream123434