开发者

how to capture screen from another desktop?(CreateDesktop)

开发者 https://www.devze.com 2023-02-24 00:22 出处:网络
if one desktop isn\'tthe current desktop,so,windows will not draw it .then capt开发者_运维问答ure the screen by DC was not work.

if one desktop isn't the current desktop,so,windows will not draw it .then capt开发者_运维问答ure the screen by DC was not work.

help me!!!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消