how to capture screen from another desktop?(CreateDesktop)

纵饮孤独 提交于 2019-12-11 17:17:41

问题


if one desktop isn't the current desktop,so,windows will not draw it .then capture the screen by DC was not work.

help me!!!


回答1:


The best you can do is to use the technique described in this article:

http://www.fengyuan.com/article/wmprint.html

Basically, you have to fool the applications on the other desktop to redraw their windows into a DC of your choice. I did this once - it can be made to work, but it's by no means trivial.

There are many drawbacks - e.g. don't expect to be able to show a nice Aero style composited desktop.



来源:https://stackoverflow.com/questions/5643637/how-to-capture-screen-from-another-desktopcreatedesktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!