Trackbar Type
[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.]
You must define the type of trackbar you want to use. The following table shows the types that are valid.
Type | Description |
---|---|
Seek | Controls the playback position. If the value is zero, the media item is at the beginning. The value increases until the end of the media item is reached. The user can slide the thumb image to change the value, and while the media item plays, the thumb image moves to match the current playback position. |
Volume | Controls the audio volume. The value varies from 0 to 100. The user can slide the thumb image to change the volume. If the volume changes, the thumb image will move to match the new volume. |
Related topics