Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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!
On my OS (Windows 10 21H1), it displays shadows only if I minimize the target window, but I don't see exactly the result you want to get
Test with Notepad :