capture screenshot without current window
-
How would I capture a screenshot of the computer without the form in it (and whatever's behind it shows up). The form should should be visible (not minimized) on the screen. So if i start with my desktop and open the form that takes the picture, the form should be visible to the user but the screenshot taken should only show the desktop, without a white hole in it where the form was. If i opened another application like internet explorer and then opened the form, the form should take a screenshot of the desktop with the internet explorer above it. :confused:
-
How would I capture a screenshot of the computer without the form in it (and whatever's behind it shows up). The form should should be visible (not minimized) on the screen. So if i start with my desktop and open the form that takes the picture, the form should be visible to the user but the screenshot taken should only show the desktop, without a white hole in it where the form was. If i opened another application like internet explorer and then opened the form, the form should take a screenshot of the desktop with the internet explorer above it. :confused:
i assume that you have the screenshot code. if user will take the screenshot with a button when user clicks button try setting forms opacity property to 0% for taking screenshot visit http://www.geekpedia.com/tutorial181_Capturing-screenshots-using-Csharp.html[^]
-
i assume that you have the screenshot code. if user will take the screenshot with a button when user clicks button try setting forms opacity property to 0% for taking screenshot visit http://www.geekpedia.com/tutorial181_Capturing-screenshots-using-Csharp.html[^]
Yeah, I've done the same before. When the user clicks the button to take the screen shot, I fire a timer that sets the forms.visible property to false, then take the screen shot, and then form.visible becomes true when finished executing. wrap it around a try catch finally to make sure the form always comes back into view, i suppose; for saftey's sake.