Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: DefaultFrame
*Next Topic: DisplayForeColor

DisplayBackColor Property

Sets or retrieves a value specifying the display panel's background color.

Syntax

MediaPlayer.DisplayBackColor [ = lColor ]

Possible Values

lColor Long value specifying the display panel's background color.
This property is read/write with a default value of zero (black).

Remarks

You can specifiy the background color in either of two ways:

Setting Description
Normal RGB colors Colors specified by using the color palette or by using the Microsoft® Visual Basic® RGB or QBColor functions in code.
System default colors Colors specified by system color constants listed in the object library of the object browser. The Microsoft Windows® operating environment substitutes the user's choices as specified in the control panel settings.

The valid range for a normal RGB color is 0 to 16,777,215 (0xFFFFFF). The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (0xFF). If the high byte is not 0, Visual Basic uses the system colors, as defined in the user's control panel settings and by constants listed in the object library of the object browser.

See Also

DisplayForeColor


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