Creating the Skin Definition File
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The skin definition file is a simple text file. You can create skin definition files in any text editor that saves ASCII plain text files, such as Microsoft Notepad, Microsoft Visual InterDev®, or Microsoft Visual Studio. Since you will be writing XML, not HTML, you may not want to use an editor for HTML because it may add extra codes you do not want or may tell you about errors that you do not have. You will probably want to avoid word processors such as Microsoft Word; even though Word can save plain text files, you may not want to remember to save as text every time you save.
The following sections will guide you in creating a skin definition file:
- Skin Definition File XML Structure
- Start with THEME and VIEW
- Adding BUTTONGROUP
- Adding the Play BUTTONELEMENT
- Adding the Close BUTTONELEMENT
- Complete Code for Simple Skin
Related topics