Win 7中的屏幕截图 [英] Screen shot in 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
这篇关于Win 7中的屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!