How to grab desktop?

BlitzMax Forums/BlitzMax Programming/How to grab desktop?

hmm potential idea ... needs work. Minimise app, put Prn Screen into the keyboard cue (this can be done, I've done it in Delphi), Desktop is now in the copy/paste buffer, copy if out into a Pixmap...

OK, now the hard bit, code that.

Also BlitxMax has GetDesktopWindow() (or at least I use it, actaully I've Externed it from "win32") so this gives you a handle, is there a way to grab the display from that handle?