共用方式為


IVideoWindow.WindowState

 
Microsoft DirectShow 9.0

IVideoWindow.WindowState

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

The WindowState property shows, hides, minimizes, or maximizes the video window, or retrieves the window's current state.

Syntax

  objVideoWindow
  .WindowState As Long

Parameters

This property takes no parameters.

Return Values

Returns one of the following flags:

  • SW_HIDE
  • SW_MAXIMIZE
  • SW_MINIMIZE
  • SW_SHOW

The meanings of these flags are defined by the Windows ShowWindow function.

Remarks

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also