Print current window

  • Thread starter Thread starter Rich Wallace
  • Start date Start date
R

Rich Wallace

Hi folks,

Is there a way to perform a screen print programmatically on the current
window? I have a child form within an MDI layout and I only want to print
out the child form, similar to doing an 'Alt+Print Screen', save the
clipboard to MSPaint and Print out the bmp file.

Any ideas?

TIA
-Rich
 
Hi Rich,

Take a look at the this thread
Topic: Question: Saving form as jpeg or gif automatically
started in this newsgroup posted very recently.

This will get your Bitmap. You can then save it to a file and call
Process.Start ("MsPaint.exe", sBitmapFilePath) or some such. I'm off to bed -
hence scanty details.

Regards,
Fergus
 
Back
Top