View Full Version : IMVSCVideoWindow

March 3, 2008, 16:16:52
I am using the SetVideoRenderer of this interface to move the video stream around to different instances of the smart control and I'm running into an issue. For example, I have 3 instances of the the smart control on my form. When I use SetVideoRenderer on the 2nd instance, the video is moved from the master(1st) instance of the control correctly. Using SetVideoRenderer on the 3rd instance also moves the video correctly from the 2nd instance. The problem I am running into is moving the video back from the 3rd instance to the 2nd instance. When I call SetVideoRenderer to bring the video stream back to the 2nd instance from the 3rd instance, nothing happens. Is there something I am missing?

Bernd Peretzke
March 4, 2008, 14:10:42

Why do you want to move between the second and third control? Isn't it easier to move the control window?

Anyway, your approach schould work. I will check this.


March 8, 2008, 01:19:02
I ended up finding a solution to my problem. You have to switch the video renderer back to the 2nd smart control before the dialog containing the 3rd smart control is closed.

- Matt