IVideoWindow.WindowStyle

 
Microsoft DirectShow 9.0

IVideoWindow.WindowStyle

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

The WindowStyle property sets or retrieves the window styles on the video window.

Syntax

  objVideoWindow
  .WindowStyle As Long

Parameters

This property takes no parameters.

Return Values

Returns one or more flags from the GWL_STYLE 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, and do not use the following flags:

  • WS_DISABLED
  • WS_HSCROLL
  • WS_ICONIC
  • WS_MAXIMIZE
  • WS_MINIMIZE
  • WS_VSCROLL

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also