Draw control to image

jthieret

New member
Joined
Jul 25, 2003
Messages
4
I have a control on a form. I want to "draw" the control to an Image and then save the image to a PNG or JPG file.

But, everything I have read leads me to believe that there is no way to get a control to "draw" itself to an image. Is this true?

If so, how do screen capture utilities work?
 
Screen capture utilites get a handle to the desktop and (C++ word coming) Blit the screen to ram memory and then you can save it from there. You can do this in your language as well.

If you look up how to do screen capture on the net I am sure someone goes over it.
 
Back
Top