Windows Media Player SDK banner art
PreviousNext

Player6.ColorKey

This property specifies or retrieves the color key being used by the DVD playback.

Syntax

MediaPlayer.DVD.ColorKey

Possible Values

This property is a read/write ULONG indicating the color key. Specify as a hexadecimal value in the form 0xRRGGBB for Microsoft® JScript® and &HRRGGBB for Microsoft Visual Basic® Scripting Edition (VBScript).

Remarks

The color key refers to the destination color key being used by the overlay surface.

Applications should set the color key to an obscure color (some color which, in all probability, will not be present on the desktop). Overlay mixer filters will typically use an obscure color, but if the application knows that the specified color is part of some other content, then the application should change it.

For example, using JScript you can set the color key as follows.

MediaPlayer1.DVD.ColorKey = 0xffffff;

For more information, see Overlay Mixer in the Microsoft DirectShow™ Software Development Kit.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.