dvory
asked on
Snapshot the screen
I have an hwnd that I do not control its OnPaint. I want to get create a bmp file that capture the window bitmap pixels. How can i do it?????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
tchalkov, the given example does not provide any possibility to save image as bmp...
In the same topic two titles bellow there is one called "Storing an image". It describes storing a bitmap.
BTW the whole topic is a good reading to start with.
BTW the whole topic is a good reading to start with.
http://www.codeguru.com/bitmap/window_to_file.shtml
which uses code from
http://www.codeguru.com/bitmap/bitmap_to_file.shtml and
http://www.codeguru.com/bitmap/dib_to_ddb.shtml
ZOPPO