Share via


Windows Media Player 11 SDK SLIDER.foregroundProgress 

Windows Media Player SDK banner art

Previous Next

SLIDER.foregroundProgress

The foregroundProgress attribute specifies or retrieves the current position of the foreground progress bar as a percentage of the slider area.

Syntax

  

Possible Values

This attribute is a read/write Number (float) ranging from 0 to 100.

Example

  

Remarks

This attribute is used primarily to track the download progress of a media file while simultaneously tracking the current play position of the file using the value attribute. The position of the slider thumb is constrained to the area of the foreground progress. This allows interactive seeking to take place only within the available portion of a downloading file.

To use this functionality, the useForegroundProgress attribute must be set to true.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next