共用方式為


IVideoWindow.AutoShow

 
Microsoft DirectShow 9.0

IVideoWindow.AutoShow

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

The AutoShow property specifies whether the video renderer automatically shows the video window when it receives video data.

Syntax

  objVideoWindow
  .AutoShow As Long

Parameters

This property takes no parameters.

Return Values

Returns True or False. If the value is True, the video renderer automatically shows the video window when the renderer pauses or runs. If the value is False, the video renderer does not automatically show the window. The default value is True.

Remarks

By default, when the filter graph changes state to paused or running, the video renderer shows the video window and moves it to the foreground. If the user closes the window, it will not automatically reappear. 

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also