how would i get a screenshot of the computer that I am on? I would like to save it to a file or anything along that line.
Printable View
how would i get a screenshot of the computer that I am on? I would like to save it to a file or anything along that line.
You could try simulating the pressing of PrintScreen.
Or you could obtain the desktop DC and BitBlt it's entire contents to an offscreen DC.
unfortunatly the desktop dc does not include the startbar, so it wouldn't be a full screenshot
yah...simulation.. have it hold printscreen then press alt. I think he's asking more how you would do that.
ok i managed to get the screenshot into a HBITMAP. Now how can i save this to a file?
Either with your own saving routine or with the GDI+.