Microsoft DirectX 8.1 (C++)

IVideoWindow.BorderColor

The BorderColor property sets or retrieves the color that appears around the edges of the destination rectangle.

Syntax

objVideoWindow.BorderColor As Long

Parameters

This property takes no parameters.

Return Values

Returns the color as a Long value. Treat the returned value as a COLORREF value.

Remarks

If the destination rectangle is smaller than the client area of the video window, a border is exposed around the edges of the video. The default color is black. Use this method to override the default color. If a palette is in use, a nonsystem color is converted to its closest match.

This property is read/write.

See Also