Domanda

I am trying to implement double-buffering in a Win32 application, so I need the controls of a window to be painted from the backmost-control to the frontmost. As I understand it, WM_EX_COMPOSITED does this, but it also does double-buffering itself1. How can I get windows to be painted from bottom to top like WS_EX_COMPOSITED without getting the double buffering along with it?


I am not using WM_EX_COMPOSITED for double buffering because I think I can do a better job manually and not have flicker with DWM, etc.

È stato utile?

Soluzione

Use the WS_EX_TRANSPARENT extended window style to make the top-level window paint last.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top