How to copy a form to clipboard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there anybody knows how to copy a form (actually the image of a form) to
clipboard?

Jason
 
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your
form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Minfu Lu said:
Yes.

James Curran said:
Alt-PrintScreen should do it. Or do you wish to do it programmatically?

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Minfu Lu said:
Is there anybody knows how to copy a form (actually the image of a
form)
to
clipboard?

Jason
 
James:

You listed four web sites in your last mail. I do not know the article is on
which web site. Could you please tell me little bit more about the article (
its name, author?) and on which of the four web sites?

Thanks,

Minfu

James Curran said:
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your
form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Minfu Lu said:
Yes.

James Curran said:
Alt-PrintScreen should do it. Or do you wish to do it programmatically?

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Is there anybody knows how to copy a form (actually the image of a form)
to
clipboard?

Jason
 
Oops... Sorry, I forgot the link ;-)
http://www.codeproject.com/csharp/cscapturescreen1.asp


--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Minfu Lu said:
James:

You listed four web sites in your last mail. I do not know the article is on
which web site. Could you please tell me little bit more about the article (
its name, author?) and on which of the four web sites?

Thanks,

Minfu

James Curran said:
Here's an article about copying the screen to a bitmap. You have to
adjust the limits of the copy from the whole screen to the location of your
form. Them copy the bitmap onto the clipboard
(Clipboard.SetDataObject(bmp);)

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Minfu Lu said:
Yes.

:

Alt-PrintScreen should do it. Or do you wish to do it programmatically?

--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Is there anybody knows how to copy a form (actually the image of a form)
to
clipboard?

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top