Microsoft DirectX 9.0

MSVidCtl.ColorKey

This topic applies to Windows XP only.

The ColorKey property sets or retrieves the color key that the video renderer is using. The color key is used when the video renderer draws to an overlay surface

Syntax

objMSVidCtl.ColorKey As OLE_COLOR

Parameters

This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns an OLE_COLOR value.

Remarks

This property is read/write. In Visual Basic, you can set this property at design time using the Properties dialog.

See Also