How to get the Left,Top and Height,Width of perticular region within an running application?
-
Hello Dear Friends, I've an application which shows the video from the webcam. I want to create a C# application which can capture the part of the first application that shows the video in it. Can anybody suggest the way to do this. One way to do this is as described below 1) From the first running application that shows the video in it we can get handle of the window and from that window handle we can get the left,top, right,bottom of the area of the application that shows the video. I've HWND of the first running application but how do I get the left,top,height,width of the area which shows the video. Is there any other way to achieve this or suggestion for this. Thanks in Advance,
ritz1234
-
Hello Dear Friends, I've an application which shows the video from the webcam. I want to create a C# application which can capture the part of the first application that shows the video in it. Can anybody suggest the way to do this. One way to do this is as described below 1) From the first running application that shows the video in it we can get handle of the window and from that window handle we can get the left,top, right,bottom of the area of the application that shows the video. I've HWND of the first running application but how do I get the left,top,height,width of the area which shows the video. Is there any other way to achieve this or suggestion for this. Thanks in Advance,
ritz1234
-
you need the handle of the control that shows the video or calculate the correct region if you know the correct location of the "videocontrol".. greetz
Hi rootjumper, Thanks for the response. The problem is that it is the SKYPE which shows the video while we do the video call.And I don't think it use any control for the video so how to get the handle of the region or the location of the video region? Thanks
ritz1234