Compartir a través de


StateChange (Windows CE 5.0)

Send Feedback

This event indicates that the Player state changed, such as from running to stopped.

Compatibility: ActiveMovie

Private Subobject_StateChange(ByValoldStateAs Long,ByValnewStateAs Long)

Parameters

  • object
    Object expression that evaluates to an ActiveMovie Control.
  • oldState
    Previous state, before the change occurred.
  • newState
    Current state, after the change occurred.

Remarks

The ActiveMovie Control raises the StateChange event when the Player state changes, such as from stopped to running.

The current Player state appears in the CurrentState property. You can find the Player state flags in the CurrentState property documentation.

Settings

Following are possible settings for the oldState or newState parameters.

Setting Value Description
amvStopped 0 The Player is stopped.
amvPaused 1 The Player is paused.
amvRunning 2 The Player is playing the multimedia file.

Requirements

OS Versions: Windows CE 3.0 to Windows CE 4.1.

See Also

Windows Media Player Events | Compatibility Modes

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.