Win 7中的屏幕截图 [英] Screen shot in Win 7

查看:97
本文介绍了Win 7中的屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想通过 BitBlt
函数捕获Win 7中窗口的屏幕截图,但是,我有问题,窗口标题(标题栏)和窗体的边距是黑色。 


我不想使用 Win32DwmEnableComposition(DWM_EC_DISABLECOMPOSITION);
以禁用Win 7中的透明度。 


您是否知道如何在没有Aero影响的情况下正确捕获窗口?


谢谢。


解决方案


查看以下msdn链接以捕获windows的屏幕截图。它使用BitBlt()。


http://msdn.microsoft.com/en-us/library/windows/desktop/dd183402%28v=vs.85% 29.aspx


谢谢。


Hello,

I would like to capture the screen shot of window in Win 7 by BitBlt function, however, I have problem that the window Caption (title bar) and the Margin of form is BLACK. 

I don't want to use Win32DwmEnableComposition(DWM_EC_DISABLECOMPOSITION); to disable the transparency in Win 7. 

Do you know how we can capture window correctly without Aero affect?

Thanks.

解决方案

Hi,

Look into the following msdn link to capture the screen shot of windows.It uses BitBlt().

http://msdn.microsoft.com/en-us/library/windows/desktop/dd183402%28v=vs.85%29.aspx

Thank You.


这篇关于Win 7中的屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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