Compartilhar via


Bitmaps Section

[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.]

Next, you must have a section that defines each of your bitmap files. Each type of bitmap you will use must have a file assigned to it, though you can have more than one type using the same bitmap.

[ Bitmaps ]

//  <Name>      <File name>     <X,Y>
//  ------      -----------     -----
    Background  Background.bmp  0,0
    Disabled    Disabled.bmp    0,0
    Pushed      Pushed.bmp      0,0
    Region      Region.bmp      0,0
    Super       Super.bmp       0,0

The Bitmaps section must begin with the word Bitmaps in brackets and then a line for each bitmap type you want to define. In this example, five types of bitmaps were defined. For more about the Bitmaps section, see Bitmaps in the Skin Reference.

Note

The Region and Super bitmaps are deprecated in Windows Media Player 10 Mobile or later skins.

 

Writing the Code