Platform SDK: Broadcast Architecture |
The ColorKey property specifies the color to use for color keying for the Video control. ColorKey is not fully implemented. Currently, ColorKey is always set to magenta (0x00FF00FF). Visual Basic syntax is shown.
object.ColorKey [ = lColorVal ]
Value | Meaning |
---|---|
Standard RGB colors | Colors specified by using the Color palette or programmatically by using the RGB or QBColor functions in Visual Basic. |
Default colors for the operating system | Colors specified by system color constants listed in the object library in the Visual Basic Object Browser. As needed, Windows substitutes the user's color choices for default colors as specified in the Control Panel settings. |
The valid range for a normal RGB color is 0 to 16,777,215 (&HFFFFFF). The high byte of a number in this range equals zero; the lower three 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 (&HFF). If the high byte is not zero, Visual Basic uses the system colors as defined in the user's Control Panel settings and by constants listed in the object library in the Object Browser.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in vidsvr.odl.
Import Library: Included as a resource in vid.ocx.