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.
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.