Capture window contents?

BlitzMax Forums/MaxGUI Module/Capture window contents?

Raph(Posted 2007) [#1]
Is there a way to capture the contents of a window -- say, an HTMLView gadget -- into a pixmap? I'd like to capture the contents and put them on a texture.


pls(Posted 2007) [#2]
I am pretty interested on this one also... however I have no idea how to do it in blitzmax.

PLS


SebHoll(Posted 2007) [#3]
d:bug released this excellent module that provides additional desktop functions. This should allow you to (on Windows only at the mo, I think) grab the entire desktop into a pixmap, where you can separate out the window you are after.


pls(Posted 2007) [#4]
That is not what I am after: I want to grab a HTMLview gadget content into a pixmap (i.e. and use what I grab later on on a canvas).

PLS


grable(Posted 2007) [#5]
I tried grabbing directly from the htmlview gadget, but i only got black & white? so this grabs from the screen (similar to the module mentioned earlier) but limits the grab to just the gadget.
It only does 24 and 32 bits, and is Win32 only.




pls(Posted 2007) [#6]
Thanks Grable!

Anyone knows of a multi-platform way of doing this? Or a Mac specific way that could be used as an alternative for the platform?

PLS