Windows XP Media Center Edition SDK Text and Background Colors
Previous | Next |
Text and Background Colors
The Triple-tap/Soft-keyboard control includes a number of properties that let you set the font and background colors of the control's main components (input text box, soft keyboard, character map, and candidate lists). These properties include:
- CLBkGrndColor
- CLTextColor
- InputTextColor
- KBBkGrndColor
- KBEnterBkGrndColor
- KBFocusBkGrndColor
- KBTextColor
- TTBkGrndColor
- TTCharacterColor
- TTDigitColor
Each of the preceding properties takes a string containing either a color name (for example, "silver"), or an RGB value in the following format.
where rr, gg, and bb are two-digit hexadecimal values specifying the intensities of the red, green, and blue color components.
For a complete list of the valid color names, along with the corresponding RGB values, see Color Table.
See Also
Previous | Next |