Поделиться через


Customizing the Windows Media Player Control User Interface (Windows Embedded CE 6.0)

1/6/2010

The following items can be customized to change how the user sees the Windows Media Player control:

  • Displaying or hiding all controls with the ShowControls property.
  • Displaying or hiding the skip ahead, skip back, fast forward, and fast reverse controls with the ShowPositionControls property.
  • Displaying or hiding the status bar with the ShowStatusBar property.
  • Changing the display size using the DisplaySize property.
    This property changes the size that the video is played back and also changes the size of the whole control. Changing this property allows you to scale the video to one of several predefined size or scaling ratios.
  • Displaying the mute button (speaker icon) and volume slider control with the ShowAudioControls property.
  • Showing or hiding the Tracker bar with the ShowTracker property.

To completely hide the user interface and the ability to re-enable it through a script, the following registry key must be set.

HKEY_LOCAL_MACHINE\Software\Microsoft\MediaPlayer\Control "CustomUI"=dword:1

See Also

Concepts

Windows Media Player Control Application Development