简体   繁体   English

截取不可见窗口的屏幕截图

[英]Take a screen capture of an invisible window

(在Windows 7上)是否可以对不可见窗口进行屏幕截图(即不带WM_VISIBLE标志的窗口)?该方法最好是高性能的,因此我每秒可以捕获数百张这些屏幕截图。

也许您会在这里找到一些有用的信息: 从XP中的隐藏或剪切窗口复制内容?

Well-written Windows programs check that a window is visible before they paint themselves. 编写良好的Windows程序在绘制自身之前会检查窗口是否可见。

You are telling these windows not to render themselves, and then expecting them to render themselves. 您要告诉这些窗口不要渲染自己,然后期望它们渲染自己。 That is simply not going to work. 那简直是行不通的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM