Capturing a Window that is hidden or minimized
问题 I followed this tutorial (there's a bit more than what's listed here because in my code I get a window via mouse click) for grabbing a window as a bitmap and then rendering that bitmap in a different window. My question: When that window is minimized or hidden (SW_HIDE) my screen capture doesn't work, so is it possible to capture a window when it is minimized or hidden? 回答1: The PrintWindow api works well, I use it for capturing thumbnails for hidden windows. Despite the name, it is different