I want to take a full screen shot and i cannot catch the semi-transparent windows (like tweetdeck or avast notifications). I see that print screen function of windows can. I tried with api call for GetDesktopWindow() or using a bitmap from Screen.PrimaryScreen.Bounds, but with no success. Thank you!
Share
You need to use CopyPixelOperation.SourceCopy | CopyPixelOperation.CaptureBlt to also capture layered windows. Unfortunately this doesn’t work, they fumbled the argument validation code. The unhappy alternative is to P/Invoke the required code. Here’s a sample form that does that: