-
Dec 7th, 2018, 04:47 PM
#1
Thread Starter
Lively Member
Capture particular part of a form and all controls therein...
I need to capture an image of a particular part of a form and all of the controls that are visible within the specified region. I've looked here and other places and tried at least 7 different ideas, yet none of them seem to do what I would like. I need to be able to specify the Left, Top, Width, & Height of the region of the form I need to capture.
-
Dec 7th, 2018, 05:47 PM
#2
Re: Capture particular part of a form and all controls therein...
-
Dec 7th, 2018, 07:20 PM
#3
Thread Starter
Lively Member
Re: Capture particular part of a form and all controls therein...
Thanks for that, yet I have already been down that road. As specified, I need to capture a picture of a particular region on the form ALONG WITH all of the controls inside that region.
-
Dec 7th, 2018, 07:33 PM
#4
Re: Capture particular part of a form and all controls therein...
One way is, first capture all the window and then use PaintPicture to copy just a part of the captured image into a PictureBox.
To capture a window look here.
-
Dec 7th, 2018, 07:41 PM
#5
Thread Starter
Lively Member
Re: Capture particular part of a form and all controls therein...
Thanks, Eduardo. That does capture the form as a picture, but unfortunately there is one control it just doesn't want to capture: the Windows Media Player control. I thought at least one type of capture would do it, but it doesn't seem that any of them work. Thanks for the info, though.
-
Dec 7th, 2018, 08:19 PM
#6
Re: Capture particular part of a form and all controls therein...
Originally Posted by mcoulter876
Thanks, Eduardo. That does capture the form as a picture, but unfortunately there is one control it just doesn't want to capture: the Windows Media Player control. I thought at least one type of capture would do it, but it doesn't seem that any of them work. Thanks for the info, though.
I never captured Windows Media Player so I don't know. I remember that PrintScreen didn't work with it in the old days because it works with DirectX but I think that that changed in newer OS's.
I hope someone else can help you.
-
Dec 7th, 2018, 09:45 PM
#7
Re: Capture particular part of a form and all controls therein...
Originally Posted by mcoulter876
I thought at least one type of capture would do it, but it doesn't seem that any of them work.
Did you test with BitBlt?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|