Windows Media Player SDK banner art
PreviousNext

Hit RGB Color

If you are using region buttons (PushHit, ToggleHit, and 2PushHit), you must define the color that the region image will use to determine the tap (hit) area of your button. The value must be three positive integers separated by commas. The values represent the amount of red, green, and blue for a bitmap color, and range from 0 to 255.

You can use any colors for the values, but be sure that each region button you define has a unique color in the Region image file and that the color value you define here as a number matches the actual color used in the Region image.

Some typical colors you might want to use include:

Value Description
0,0,0 Black (the absence of any color)
255,255,255 White (the combination of all colors)
255,0,0 Pure Red (no green or blue)
0,255,0 Pure Green (no red or blue)
0,0,255 Pure Blue (no red or green)

If you do not use region buttons, you must enter:

0,0,0
PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.