Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: KeyUp
*Next Topic: MouseDown

MarkerHit Event

Occurs when playback reaches a marker.

Syntax

JScript
<SCRIPT FOR="MediaPlayer" EVENT="MarkerHit(lMarkerNum)" LANGUAGE="JScript">
    //insert script commands//
</SCRIPT>
VBScript
<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_MarkerHit(lMarkerNum)
    //insert script commands//
End Sub
</SCRIPT>

Parameters

lMarkerNum Long value specifying the number of the marker that was reached.

Remarks

This event does not occur if the file is being scanned (fast-forward or fast-reverse).

See Also

Playback Methods and Properties


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.