Search code examples
c#c++.netwindows-media-playeraxwindowsmediaplayer

How to customize Windows Media Player UI programmatically?


I have this Skin Programming Reference for Windows Media Player: https://learn.microsoft.com/en-us/windows/win32/wmp/skin-programming-reference

According to that reference BUTTON.image is the image attribute that specifies or retrieves the default image of the BUTTON, I wanna change the color or skin of a BUTTONELEMENT such as play, pause, stop, next, prev, etc., how do I set those properties through an AxWMPLib.AxWindowsMediaPlayer object? Is it even possible or does it need something else? I'd appreciate both C# or C++ examples.


Solution

  • Everything about skins is explained in the old WMP 9 SDK (Windows Media Player 9 Series Software Development Kit

    There is a basic sample, RemoteSkin, which implements the IWMPRemoteMediaServices as explained at Using Skins with the Windows Media Player Control

    Skins have the .wms or .wmz extension and are just zip files with all necessary files inside

    You can find many examples of more advanced skins on the Web, like World Of Warcraft Skin for Windows Media Player (you can extract the files from WoW.wmz)