DisplayBackColor
A version of this page is also available for
4/8/2010
This property specifies the display panel's background color. This property is read/write.
Compatibility: Windows Media Player, ActiveMovie
Syntax
MediaPlayer.DisplayBackColor [ = lColor ]
Parameters
- lColor
Long value specifying the display panel's background color. The default value is zero (black).
Remarks
You can specify the background color in either of two ways.
Setting | Description |
---|---|
Normal RGB colors |
Colors specified by using the color palette. |
The valid range for a typical 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).
For example, consider a color with a red component of 230, a green component of 216, and a blue component of 173. This is the named color "lightblue".
Converted to hexadecimal, the red, green, and blue color components are 0xE6, 0xD8, and 0xAD, respectively. Therefore, the color has a hexadecimal value of 0xADD8E6, which converts to the decimal value 11,393,254.
ActiveMovie compatibility mode is only supported through Windows CE .NET 4.1.
Requirements
Windows Embedded CE | Windows CE 3.0 and later |
See Also
Reference
Windows Media Player Properties
DisplayForeColor