Question Capture active window, view and save screenshot

Moses

New member
Joined
Aug 22, 2009
Messages
2
Programming Experience
Beginner
Hi all,

I'm working on a UNO (Msn-based) online gaming tool - you know the card game. :)
It's the second version with more features for UNO fans.
I would like to get the screenshot function to work.

It's just as simple as this:

The UNO main window
21359884.jpg



The screenshot viewer shows the screenshot of the active window (which appears by clicking on "Screenshot"):
(This form is named as "Screenshot", the Picture Box "myPictureBox")

12430490.jpg



My question is, which code do i need to bind these functions. I think the pictures are describing this good enough, if you have questions please ask!

(The "save screenshot"-button is ToolStripButton1, the button for making screenshot is ToolStripButton10).

Thanks in advance.
 
Last edited:
Doesn't works - and it has different functions instead of that what i need.
i thought about when the viewer window appears, the picturebox automatically loads the screenshot of the main form....so the button click event is only opening the viewer form itself.

is there any other way?
 
Back
Top