Is it possible to keep shadows when thumbnailing windows using DwmRegisterThumbnail?

Vahan 1 Reputation point
2022-02-07T16:30:05.527+00:00

I'm using DWM thumbnail functionality to have some windows inside my window so I can capture the window and have some partial view of background. The problem is shadows of windows are getting dropped which results in "blending" with the background. Is it possible to somehow keep the shadows? Or should I use something different for my purposes? Or maybe programmatically adding shadows is the only solution? Thanks!

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,422 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
{count} votes