Windows Media Player SDK banner art
PreviousNext

VIDEO.windowless

The windowless attribute specifies or retrieves a value indicating whether the Video control will be windowed or windowless; that is, whether the entire rectangle of the control will be visible at all times or can be clipped. Can only be set at design time.

Syntax

elementID.windowless

Possible Values

This attribute is a Boolean specified at design time and read-only thereafter.

Value Description
true Video control will be windowless.
false Default. Video control will be windowed.

Remarks

If a non-rectangular video window is desired, or if you want to cover any part of the video window with an image, this attribute must be set to true. This sacrifices some performance in order to do the necessary clipping.

Video playback is optimized for unclipped playback. In this case, the windowless attribute is set to false, and the entire video rectangle is always displayed. Any image covering the video window is ignored, and the video window has the highest-level z-order.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.