I am trying to play a video file (mpeg) in a panel.
I use Windows Media Player ActiveX control (WMP 10) on a CVI8.0 panel that runs in a new STA thread.
The ActiveX control is placed programatically on that panel (by NewIWMPPlayer4(...)).
The ActiveX control works fine as long as I call the video file just with WMPLib_IWMPPlayer4SetURL(..,..,fileName).
Unfortuantly the ActiveX control shows it's controls (play, stop, etc.) on the panel too. I don't want that and have tried to
switch the uimode to "none" (WMPLib_IWMPPlayer4SetuiMode(...,...,"none"). By adding this line the player does not play the video
file anymore, the ActiveX control remains black. In this case even right click doesn't work.
Does somebody know how to hide the controls and get the ActiveX control working?