Win32CaptureSample
Win32CaptureSample copied to clipboard
SetWindowDisplayAffinity is not work at HWND which has WS_EX_LAYERED style
i have a semitransparent HWND . when i use SetWindowDisplayAffinity method to exlude it from screen capture , but the result is the semitransparent HWND remains on the captured image.
Which build of Windows are you running? Are you doing the usual WS_EX_LAYERED/SetLayeredWindowAttributes to achieve the semi-transparency?