共用方式為


IVideoWindow.WindowStyleEx

 
Microsoft DirectShow 9.0

IVideoWindow.WindowStyleEx

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

The WindowStyleEx property sets or retrieves the extended window styles on the video window.

Syntax

  objVideoWindow
  .WindowStyleEx As Long 

Parameters

This property takes no parameters.

Return Values

Returns one or more flags from the GWL_EXSTYLE value of the Windows SetWindowLong function.

Remarks

This property is a thin wrapper over the SetWindowLong function and must be treated with care. In particular, if you change this property, you should retrieve the current styles and then add or remove flags. With some exceptions, flags allowed by the Windows CreateWindow function are acceptable. However, do not use this method to change the window size.

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also