Window contents screenshot

S

stan.wozniak

I am trying to take a screenshot of the window contents. I have been
using WM_PRINT, WM_PRINTCLIENT, but I can't get them to work.

I am aiming to get contents of the window (even the area that is hidden
(e.g. if the window is scrollable).

Please let me know if you have any suggestions.

Thanks,
Stan
 
F

Frank Rizzo

I am trying to take a screenshot of the window contents. I have been
using WM_PRINT, WM_PRINTCLIENT, but I can't get them to work.

I am aiming to get contents of the window (even the area that is hidden
(e.g. if the window is scrollable).

Please let me know if you have any suggestions.

Thanks,
Stan

Just inherit from the class in this article and presto, you got the
ability to take screenshots.

http://www.vbrad.com/article.aspx?id=26

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top