Microsoft Windows CE 3.0  

AutoRewind

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sets or retrieves a value specifying whether the Microsoft Windows Media Player control automatically returns to the clip's starting point after the clip finishes playing or has otherwise stopped.

Compatibility:Windows Media Player, ActiveMovie

MediaPlayer.AutoRewind
[ =
bRewind
]

Parameters

bRewind
Boolean value specifying whether the clip rewinds automatically. If true, the clip rewinds after completion or when it is stopped. This property is read/write with a default value of true.

Remarks

To retain the current position within the clip, set this property to false, or use the Pausemethod.

The state of the image display window after automatic rewinding is determined by other Windows Media Player control properties. The default behavior is to display the background color of the control. If the TransparentAtStartproperty is true, the control becomes transparent after the file finishes playing. If TransparentAtStartis false, the clip image is shown.

If the PlayCountproperty is greater than 1, the current position returns to zero only after the file is played PlayCounttimes. Between plays, the last image of the file is shown while play is restarting.

See Also

AutoStart, CurrentPosition, Playback Methods and Properties