0
votes

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.

1

1 Answers

1
votes

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