PositionChange Event

Indicates changes to the current media position, such as when the user selects (or seeks to) a new media position.

Syntax

MediaPlayer_PositionChange( oldPosition, newPosition )

Parameters

oldPosition

Double value indicating the position before it changed, in seconds.

newPosition

Double value indicating the current position, in seconds, after the position change occurred.

Remarks

Changes made directly to the CurrentPosition property do not trigger this event.

© 1996-1998 Microsoft Corporation. All rights reserved.