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 );
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 );