Enabled

This property specifies whether the Windows Media Player control is enabled.

Compatibility: Windows Media Player, ActiveMovie

MediaPlayer.Enabled [ = bEnabled ]

Parameters

  • bEnabled
    Boolean value specifying whether the Windows Media Player control is enabled. If true, the control is enabled. This property is read/write with a default value of true.

Remarks

This property is identical to the standard Microsoft Visual Basic® Enabled property.

A disabled Windows Media Player control remains visible if it was already visible, and continues to play if it was already playing. However, the commands or menus do not respond to user input.

Disabling a control at design time is useful if you want to control the media stream from an external source, such as a custom group of controls on a Web page, instead of from the built-in controls panel.

ActiveMovie compatibility mode is only supported through Windows CE .NET 4.1.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.