ALX
Well-known member
This may be a stupid question, but I'm fearless...
There is a form (let's say Form A) in my app that uses a reduced snapshot of a different form (Form B) in the same app. The way I've been doing this is:
1st- Display the form that I need to copy. (Form B)
2nd- Run through a quick "BitBlt" API call & save the image to a shared bitmap variable.
3rd- Display Form A and assign the bitmap to a picturebox in Form A
4th- Close Form B
This works OK. I was just wondering if there was a way that I could capture the image of Form B without actually displaying it to avoid the distraction of having Form B show briefly just before Form A is shown... say if there were a way to construct Form B in memory and then capture the image from there. It would appear a little more professionally constructed that way. Is this reasonably do-able?
There is a form (let's say Form A) in my app that uses a reduced snapshot of a different form (Form B) in the same app. The way I've been doing this is:
1st- Display the form that I need to copy. (Form B)
2nd- Run through a quick "BitBlt" API call & save the image to a shared bitmap variable.
3rd- Display Form A and assign the bitmap to a picturebox in Form A
4th- Close Form B
This works OK. I was just wondering if there was a way that I could capture the image of Form B without actually displaying it to avoid the distraction of having Form B show briefly just before Form A is shown... say if there were a way to construct Form B in memory and then capture the image from there. It would appear a little more professionally constructed that way. Is this reasonably do-able?