Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: EnableContextMenu
*Next Topic: EnableFullScreenControls

Enabled Property

Sets or retrieves a value specifying whether the Microsoft® Windows Media™ Player control is enabled.

Syntax

MediaPlayer.Enabled [ = bEnabled ]

Possible Values

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.


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