Microsoft DirectX 9.0


The BackgroundPalette property specifies whether the video window realizes its palette in the background.


objVideoWindow.BackgroundPalette As Long


This property takes no parameters.

Return Values

Returns True if the video renderer realizes the palette in the background, or False otherwise. The default value is False.


If this property is True and the video image requires a palette, the video renderer will realize that palette in the background. Any colors that the palette uses will change to their closest match in the display palette prior to drawing. This ensures that an application will not have its palette disturbed. However, it imposes severe performance penalties on the video.

This property is read/write.

See Also