The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version.
영준 최
0
Reputation points
The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version.
API: SetWindowDisplayAffinity(hwnd, WDA_MONITOR);
- Windows 10 1909 (18363.418): Works correctly; when my dialog is captured, it turns black.
- Windows 10 2004 (19041.1): My dialog is rendered as transparent (it should ideally turn black).
- Windows 10 21H2: Behaves the same as version 1909.
Updating the OS is not a solution for me, as my clients are not allowed to update Windows. Is there a way to resolve this without updating the OS?
Sign in to answer