I've done some searching on these boards and elsewhere and haven'tbeen able to find much. Could someone lead me to a tutorial or some sample code on how to take a screenshot and save it to a BMP. Thank you.
EDIT: My bad, I found an answer. :(
Printable View
I've done some searching on these boards and elsewhere and haven'tbeen able to find much. Could someone lead me to a tutorial or some sample code on how to take a screenshot and save it to a BMP. Thank you.
EDIT: My bad, I found an answer. :(
Allow others to find an answer in this thread :)
gg
TO take screen shot
U can use
GetDesktopWindow(); it will give u HWND of desktop ...Now use GetDC() to get the dc then bitblt the required part of dc on ur own dc.... You are done ...
I don`t know how to save it