Windows Media Player SDK banner art
PreviousNext

Player6.ShowDialog

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.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.