Seth Carnegie
Seth Carnegie

Reputation: 75130

WM_EX_COMPOSITED without double-buffering

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.

Upvotes: 0

Views: 255

Answers (1)

Mark Ransom
Mark Ransom

Reputation: 308111

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

Upvotes: 1

Related Questions