How to programmatically get a screenshot of a minimized application?

I am trying to get a screenshot of a minimized application, any ideas on how to do this under windows? I am using c #

tks in advance, jose

+3
source share
3 answers

Restore, take a screenshot, collapse back ...

If it is not on the screen, I do not see how you can make a copy of the image ...

+3
source

In Vista and later, this should be possible using Window Manager. Explorer also displays (animated) screenshots of minimized windows when you hover over the taskbar with DWM enabled, so the DWM APIs should be on the way.

Out of curiosity, why do you need such a screenshot?

+2

. printWindow Api!

0
source

Source: https://habr.com/ru/post/1706834/


All Articles