If the controls implement it, you can use Control.DrawToBitmap(). I'm curious though, why would you want to do this?
Edit: By the way, I checked, and DrawToBitmap does draw the control correctly even if the controls visibility property is set to false. _________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
Posted: Sat May 01, 2010 5:57 am Post subject:
PrintWindow
This will copy the contents of the window to a DC. It does not work when the window is minimized. (There has been a thread in the past about getting the contents of those minimized windows and I think that it was not completely possible)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum