Microsoft DirectX 8.1 (C++)

IVideoWindow.WindowStyle

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:

This property is read/write.

See Also