directx component prevents windows forms elements from being draw correctly

Can you maybe show a screenshot or some sample code that would illustrate the problem you are having? That kind of setup works fine for me.
 
[Broken External Image]:http://www.chilp.de/starblaster/screen1.jpg

As you might see on the pic, when changing selecting another tabpage, its content is not fully drawn because the same time, i suppose, the black area (directx panel) gets redrawn.

currently the directx panel is drawn with onpaint and invalidate. i also tried to let it draw by a timer but the problem remained. all other components except the directx panel are not drawn correctly and lose focus often.
 
You mean you were using controls in multi-threaded environment? Control and not thread safe so you shouldnt do that.

As for DirectInput, you can only set the cooperative level to a form. Im not sure what is the probelm you are describing.
 
Back
Top