Screenshot?

  • Thread starter Thread starter Ben Dilts
  • Start date Start date
B

Ben Dilts

Here's my problem. I am writing a form that allows the
user to dynamically add and remove controls. When they
click the "Remove" button, I want them to be able to click
anywhere on the form without anything happening there (to
select which control will be deleted). I tried adding a
Click event to all the controls, and changing all their
cursors to my delete cursor, but it is not feasible for
some of the more complicated user controls on the form.

So now I figure the only way out is to take a picture of
the form, put it onto a picturebox, and put the picturebox
overtop of the entire form, and let them click on the
picturebox.

How do I get a picture of the entire contents of a window?



~BenDilts( void );
 
Ben,

Why not just unhook the Click handler delegates when you go into your form
edit mode and rewire them when finished?

Brendan
 
Back
Top