|
-
Oct 27th, 2002, 07:27 PM
#1
Thread Starter
Addicted Member
Save a screenshot
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.
-
Oct 28th, 2002, 08:42 AM
#2
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 1st, 2002, 09:56 AM
#3
Addicted Member
unfortunatly the desktop dc does not include the startbar, so it wouldn't be a full screenshot
-
Nov 1st, 2002, 03:22 PM
#4
Hyperactive Member
yah...simulation.. have it hold printscreen then press alt. I think he's asking more how you would do that.
-
Nov 1st, 2002, 03:28 PM
#5
Frenzied Member
-
Nov 1st, 2002, 06:10 PM
#6
Thread Starter
Addicted Member
ok i managed to get the screenshot into a HBITMAP. Now how can i save this to a file?
-
Nov 4th, 2002, 05:54 AM
#7
Either with your own saving routine or with the GDI+.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|