Partager via


VIEW.titleBar

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The titleBar attribute retrieves a value indicating whether the window title bar is shown.

        elementID.titleBar

Possible Values

This attribute is a read-only Boolean.

Value Description
true Default. The window title bar is shown.
false The window title bar is not shown.

Remarks

If the title bar is shown, the control box, minimize, and close buttons will be shown. The title of the window will be the title of the VIEW element.

If titleBar is set to true and the user attempts to change the value of Video.zoom, the change will not take place unless the skin monitors zoom and takes appropriate action to resize itself.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

VIEW Element

VIEW.title

VIDEO.zoom