Using IVMRWindowlessControl to display video in a Winforms Control and allow for full screen toggle
Posted
by Jonathan Websdale
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan Websdale
Published on 2010-04-16T14:08:10Z
Indexed on
2010/04/16
14:13 UTC
Read the original article
Hit count: 485
I've recently switched from using the IVideoWindow interface to IVMRWindowlessControl in my custom Winforms control to display video.
The reason for this was to allow zoom capabilities on the video within the control.
However in switching over, I've found that the FullScreen mode from IVideoWindow is not available and I am currently trying to replicate this using the SetVideoWindow() method.
I'm finding that I size the video in my control to be at the same resolution as the screen however I can't get the control to position itself to the top/left of the screen and become the top most window.
Any ideas on how to achieve this since the IVideoWindow::put_FullScreenMode just did it all for you?
© Stack Overflow or respective owner