Change colors in the desktop composition buffer?

user42 121 Reputation points
2021-03-03T15:38:04.517+00:00

Is it possible to programmably (Win32) access desktop front buffer created by Desktop Window Manager and change colors in it before the contents are copied on-screen?

I'm asking because of Win10 dark theme bugs some windows flash while when they are open, that also includes web pages in browser tabs and on top of that some old programs do not respect dark theme.

Is it possible to change colors in the final off-screen composite before the user sees it?

Thank you!

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,737 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 86,986 Reputation points
    2021-03-03T16:33:59.15+00:00

    You can Hook DWM, but it is complicated

    A random sample from Google : dwm_overlay

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.