This sample shows the differences between a slider and a custom slider.
The slider uses simple attributes to define a left-right slider that allows the user to slide the slider to a new position. When the mouse clicks on the slider thumb position, the onmousedown event is triggered, which in turn changes the value of the slider. When the slider value changes, the onchange event changes the pointer to the position of the media and the media begins playing at that point (called seeking).
The custom slider uses bitmaps to define a volume control knob. One file (dial.bmp) contains pictures for 13 different views of a knob; the pictures are laid out in a horizontal row and are the same size. Another file (dialmap.bmp) uses a grayscale image to define what section of dial.bmp will be displayed when the knob is clicked on by the user. If the user clicks on the portion of the knob that corresponds to the darkest part of the grayscale mapping image, the leftmost picture will be displayed; if the click corresponds to the lightest part, the rightmost image will be displayed.
See the Windows Media Player SDK for more information.