Forcing a "PrintScreen" and saving the result

BlitzMax Forums/BlitzMax Programming/Forcing a "PrintScreen" and saving the result

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Hi All!


I need to grab a print-screen of a window my app is using. I'm not using max2D but instead I'm rendering SOW onto a canvas- and this seems to make grabbing a screenshot impossible.

So I'd like to try a workaround- Force a printscreen of the window, and grab and save that instead.

I tried bitblt yesterday, no luck. it copes to another canvas OK but the saved file is just black, but a true windows print-screen grabs the image fine.

How would I go about doing this?

Thanks for your help,