如何捕获特定的窗口或应用程序而不捕获整个桌面? [英] How to capture specific window or application but not entire Desktop?

查看:104
本文介绍了如何捕获特定的窗口或应用程序而不捕获整个桌面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目中,该项目需要捕获指定窗口的像素格式的图像以及我使用BitBlt()win API尝试过的那个窗口的内容,但它正在捕获处于活动状态的窗口.

在此先感谢

Reg
Pradeep kumar.B

I am working on a project which requires to capture image in pixel format of specified window and contents of that window i tried with BitBlt() win API but it is capturing window that is active.

Thanks in Advance

Reg
Pradeep kumar.B

推荐答案

实际上可以找到很多示例,它们都是开源的.

试试这个:
http://www.becoding.com/source/screen+capture/ [
Actually a lot of examples may be found and they are open-source.

Try this:
http://www.becoding.com/source/screen+capture/[^]


这篇关于如何捕获特定的窗口或应用程序而不捕获整个桌面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆