Microsoft DirectX 9.0


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


objVideoWindow.BorderColor As Long


This property takes no parameters.

Return Values

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


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