如何在 C# 中获取窗口的缩略图?

发布于 2024-08-05 17:41:14 字数 120 浏览 4 评论 0原文

如何获取窗口的缩略图,例如 Windows 7 超级栏预览或 Aero 翻转?请注意,我不需要应用程序的屏幕截图,DWM 中有一种方法可以获取此信息。

我想要一个 C# 方法来做到这一点。

谢谢

How do you go about getting a thumbnail of a window, like Windows 7 superbar preview, or Aero flip? Note that I do not want a screenshot of the application, there is a way in DWM to get this information.

I would like a C# way of doing this.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一身软味 2024-08-12 17:41:15

您可能想查看 Mimic - 尽管它是一个独立的应用程序,但它的全部目的就是做到这一点。

You may want to check out Mimic - it's entire purpose is to do this, although it is a standalone app.

2024-08-12 17:41:14

Bart de Smet 已经完成了,他使用了新的 Vista DWM api 可以实现这一点。

替代文本

Already been done by Bart de Smet, he used the new Vista DWM api to achieve that.

alt text

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文