Windows Media Player SDK banner art
PreviousNext

Player6.OpenStateChange

This event occurs when the open state changes.

Syntax

JScript

<SCRIPT FOR="MediaPlayer" 
        EVENT="OpenStateChange(lOldState, lNewState)" 
        LANGUAGE="JScript">
    <!-- insert script commands -->
</SCRIPT>

VBScript

<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_OpenStateChange(lOldState, lNewState)
    <!-- insert script commands -->
End Sub
</SCRIPT>

Parameters

  lOldState

Long value specifying the previous value of the OpenState property.

  lNewState

Long value indicating the new value of the OpenState property.

Remarks

This event occurs only if the value of the SendOpenStateChangeEvents property is true.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.