Posted on 2004-08-31
Is there a way to take a screenshot of the contents of a PictureBox control? I have a user control inside the PictureBox which does not exhibit a object handle (hwnd) so I cannot capture the window (object) contents this user control directly (using API). What I'm thinking of is placing the user control inside the PictureBox control and then using the PictureBox control's handle (hwnd) to somehow take a snapshot of the whole PictureBox and save it as a bitmap. Any precise solution in this scenario?