Note  This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

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 Value

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.


Type Library

ActiveMovie control type library



See Also

IVideoWindow Object



Send comments about this topic to Microsoft

Build date: 8/31/2010