Screenshot of Windows?

BlitzMax Forums/BlitzMax Programming/Screenshot of Windows?

kronholm(Posted 2009) [#1]
Is there anyone who knows a way to grab a screenshot of the entire screen in Windows, including the blitzmax window? I've tried a few things, and searching, but came up blank..

Hoping someone can point me in the right direction! :)


xlsior(Posted 2009) [#2]
chaos.mod/desktopext.mod can do that, and more:

Public Domain by hamZta, Suco-X, d-bug

See below:




iprice(Posted 2009) [#3]
Or just press the PRINT SCREEN key and paste in MS Paint or any other image program.


xlsior(Posted 2009) [#4]
Or just press the PRINT SCREEN key and paste in MS Paint or any other image program.


Or that.

I figured he was looking for a programmatic way since he posted it in the 'Blitzmax programming' forum instead of 'general help'


d-bug(Posted 2009) [#5]
It's better to use the zipped version of the module. The code from xlsior's post will not work on OS X becourse macscreen.c is missing.

See link in my signature.


GfK(Posted 2009) [#6]
Did you update this to add dual monitor support to DesktopPixmap()?


d-bug(Posted 2009) [#7]
No sorry, was it requested anywhere? I'll have a look at it this evening.

~edit~
oops, had done this long time ago, but never updated the version on our website.
please download latest version (1.15).


GfK(Posted 2009) [#8]
Yep, it was me you originally did it for, but you only ever posted a modification for me to make to the code myself. :)