Share via


Player6.ShowDialog (deprecated)

Windows Media Player SDK banner art

This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.

This method displays a modal dialog box containing a specified Windows Media Player dialog.

Syntax

MediaPlayer.ShowDialog(lDialogType)

Parameters

*  lDialogType*

Long value indicating which dialog box to open. It can have one of the following possible values.

Value Visual Basic constant Description
0 MpHelp Opens the Help Topics dialog from the Help menu.
1 MpStatistics Opens the Statistics dialog from the View menu.
2 MpOptions Opens the Options dialog from the View menu.

Return Value

This method does not return a value.

Remarks

This method performs the same action as choosing items in the Windows Media Player application menu which open dialog boxes.

Note   This scripting method is only available for Windows Media Player version 6.01 and later. The standard installation of Microsoft Internet Explorer 5 includes a compatible version of Windows Media Player.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.