Is there a way to take a screenshot of the user's Windows desktop?

前端 未结 5 1849
孤独总比滥情好
孤独总比滥情好 2020-12-08 22:08

I want to provide the user with a scaled-down screenshot of their desktop in my application.

Is there a way to take a screenshot of the current user\'s Windo

5条回答
  •  旧时难觅i
    2020-12-08 22:59

    All former answers are completely wrong (minimizing apps is absurd)
    Simply use SHW api : one line of code (the desktop bitmap being cached, the api simply blits it to your HDC...)

提交回复
热议问题