Windows Media Player SDK banner art
PreviousNext

Bitmaps Section

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 bitmap 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.

Lines beginning with two forward slashes are not processed and can be used for comments or, as in the code above, a template to help you remember what goes in a section. You can also use templates to help you align everything into columns.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.