Disable WS_EX_COMPOSITED for individual child windows?

83 Views Asked by At

I've programmed an application that superimposes semi-transparent child windows. For this I use the flag WS_EX_COMPOSITED in a common parent window. Now I've found a provider that renders 3D models, but it turns out that the rendering is done using DirectDraw methodologies, and the 3D render window generates a black area with WS_EX_COMPOSITED on, and everything is okay with Composited off. How can I convince the DWM not to draw the DirectDraw window in the DoubleBuffered chain but right after the double buffering, or else that doesn't prevent DirectDraw? Is there any relevant experience?

enter image description here

0

There are 0 best solutions below