Windows Media Player Control SDK Banner Art
*Index  *Topic Contents
*Previous Topic: SetCurrentEntry
*Next Topic: StillOff

ShowDialog Method

Displays a modal dialog box containing a specified Microsoft® 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.
0 Opens the Help Topics dialog from the Help menu. The Microsoft Visual Basic® constant associated with this value is MpHelp.
1 Opens the Statistics dialog from the View menu. The Visual Basic constant associated with this value is MpStatistics.
2 Opens the Options... dialog from the View menu. The Visual Basic constant associated with this value is MpOptions.

Return Value

No return 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 the Windows Media Player version 6.01 and later. The standard installation of Microsoft® Internet Explorer 5 includes a compatible version of the Windows Media Player.


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