I am dropping the Media Player control onto a WinForm and things work fine.
Is there a way to hide the Media Player controls?

Thanks,

Steve

Re: Media Player on WinForm by hirf-spam-me-here

hirf-spam-me-here
Tue Jul 13 15:31:37 CDT 2004

* "Steve Koon" <skoon@video-mation.com> scripsit:
> I am dropping the Media Player control onto a WinForm and things work fine.
> Is there a way to hide the Media Player controls?

Did you try to place it behind another control?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Re: Media Player on WinForm by John

John
Tue Jul 13 15:49:01 CDT 2004

If your media player control is wmp1 then

wmp.uiMode = "none"; // You can also use 'mini' and 'full'

Also there is a property called enableContextMenu (bool value) which will
allow or disallow the normal right-click context menu on the media player
control.

Hope that helps...

John Young


"Steve Koon" <skoon@video-mation.com> wrote in message
news:%23cD2dVRaEHA.3692@TK2MSFTNGP09.phx.gbl...
>I am dropping the Media Player control onto a WinForm and things work fine.
> Is there a way to hide the Media Player controls?
>
> Thanks,
>
> Steve
>
>



Re: Media Player on WinForm by Elp

Elp
Tue Jul 13 15:51:45 CDT 2004

Steve Koon wrote:
> I am dropping the Media Player control onto a WinForm and things work
> fine. Is there a way to hide the Media Player controls?

Have a look at the doc for the WMP ActiveX:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/controlreference.asp

and in particular the page concerning the player itself:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/playerobject.asp

As you can see, the uiMode property of the WMP ActiveX can have one of the
following values: invisible, none, mini, full or custom. I guess that the
one you want to use is "none".