Share via


Windows Media Player 11 SDK Trackbars 

Windows Media Player SDK banner art

Previous Next

Trackbars

A trackbar displays an image that changes in small increments. Trackbars are used for volume controls and playback position controls. You can use trackbars to display information about the current media item or to allow the user to change settings or playback position. For example, you can use a trackbar to enable the user to adjust the volume, and another trackbar that can show the user the current playback position. Trackbars have a thumb image that defines the current setting of the trackbar value.

The Trackbars section of the skin definition file must begin with this line:

  

You then must add one or more lines that contain information about each of the trackbars in your skin.

  

You can use the following template for the Trackbars section of your skin definition file:

  

You must use the following order for trackbar information for each line in the Trackbars section (each part of the line is required):

  1. Trackbar Type
  2. Trackbar Location
  3. Image Source for Disabled Trackbar
  4. Thumb Image Source
  5. Thumb Size

For an example of Trackbars code, see Sample Trackbars Section.

Requirements

Version: Windows Media Player 1.0 or later.

See Also

Previous Next