capturing windows with WM_PRINT

BlitzMax Forums/BlitzMax Beginners Area/capturing windows with WM_PRINT

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have been trying to make some code to capture all the open windows on the desktop into pixmaps, but failed to find a way to do so.

I found a page explaining that in order to capture the windows that are partially hidden or completely hidden, you should be able to use sendmessage with WM_Print.

The page I found is located here: http://www.fengyuan.com/article/wmprint.html

But I have not been able to get any code working in bmax that uses this sendmessage command and capturing windows into pixmaps.

So what I am asking is if someone with more knowledge of the winapi could take a look at that page, and tell me if its possible at all, and perhaps how to go about it.