How to desaturate background Window

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • How to desaturate background Window

    Hi all,

    I want to desaturate the background window when a non-fullscreen window is created. In order to give unfocused effect for the old window to the user.
    Although the doc says it makes the window appear gray, I tried WM_DisableWindow() but didnt work.

    Can anyone help me how to do that ?

    thanks
    regards