Windows Media Player SDK banner art
PreviousNext

Player6.Enabled

This property specifies or retrieves a value indicating whether the Windows Media Player control is enabled.

Syntax

MediaPlayer.Enabled

Possible Values

This property is a read/write Boolean containing one of the following values.

Value Description
true Default. The Windows Media Player control is enabled.
false The Windows Media Player control is disabled.

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 control panel.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.