I'm trying to capture the entire desktop with BitBlt
and I also want to exclude certain windows (of my own application) from the capture. I can set WS_EX_LAYERED
attribute to them, but it wouldn’t work in Window 7 with desktop composition enabled. Showing and hiding a window is not an option as it produces a flicker.