|Microsoft DirectX 9.0|
This topic applies to Windows XP only.
The BackColor property sets or retrieves the background color of the Video Control.
objMSVidCtl.BackColor As OLE_COLOR
This property takes no parameters.
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Returns an OLE_COLOR value.
The Video Control uses the background color when the filter graph is stopped or unbuilt. It also uses this color in letterbox mode to paint unused areas of the video rectangle. The background color is sometimes called the "border" color.
This property is read/write. In Visual Basic, you can set this property at design time using the Properties dialog.
Const Orange = &H80FF& VideoControl1.BackColor = Orange