Microsoft DirectX 8.1 (C++)

MSVidCtl.Refresh

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Refresh method immediately updates the Video Control's appearance.

Syntax

objMSVidCtl.Refresh()

Parameters

This method takes no parameters.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This method does not return a value.

Example

VidCtl.Refresh

Remarks

This method is a stock ActiveX® Control method. It forces the Video Control window to repaint itself. Before repainting, the Video Control ensures that the video rectangle is up to date and that all Video Mixing Renderer settings are correct.

See Also