Discussion:
How does change UI mode of Windows Media Player in runtime
(too old to reply)
DM
2006-07-03 21:43:23 UTC
Permalink
Hi all,

I try to change UI mode of Windows Media Player in runtime.

m_spWMPPlayer->get_uiMode(L"invisible");
this function returns S_OK, but really the mode is not changing.

Also I tried to change ui mode in PPCWmpHost code sample application by
choosing suitable menu option in the WMP that appears after running
this sample(click on Menu, IWMPPlayer, uimode). Nothing.

Any ideas?
Thanks in advance,
DM
dragonsteve
2006-07-04 07:22:23 UTC
Permalink
I also use the WMP control in my application.
The UI mode can't be changed. (And I looked and tried a lot of things)
The option of making the mediaplayer modular is something for the
future.

http://www.learn247.net/weRock247/presentations/WeRock-Mobile_Developer.ppt

The trick I'm using is place a mediaplayer on your form.
Place a panel above the mediaplayer controls.
In that panel, if you wish, you can design your own controls.
Place them there with pictureboxes.

Grtz
Steve
mCode
2006-08-04 15:43:02 UTC
Permalink
"full" and "none" are supported - no other values. It's stated somewhere in
the documentation, don't remember where exactly...
Post by DM
Hi all,
I try to change UI mode of Windows Media Player in runtime.
m_spWMPPlayer->get_uiMode(L"invisible");
this function returns S_OK, but really the mode is not changing.
Also I tried to change ui mode in PPCWmpHost code sample application by
choosing suitable menu option in the WMP that appears after running
this sample(click on Menu, IWMPPlayer, uimode). Nothing.
Any ideas?
Thanks in advance,
DM
Continue reading on narkive:
Loading...