Share via


Windows Media Player 11 SDK THEME.openViewRelative 

Windows Media Player SDK banner art

Previous Next

THEME.openViewRelative

The openViewRelative method opens a VIEW in a new window at a specified initial position relative to the upper-left corner of the skin.

Syntax

  

Parameters

  view

A String specifying the id of the VIEW to open.

  left

A Number (long) specifying the initial distance in pixels of the left border of the VIEW from the left border of the skin. A negative value indicates an initial position to the left of the skin border.

  top

A Number (long) specifying the initial position of the top border of the VIEW relative to the top border of the skin. A negative values indicates an initial position above the skin border.

Return Values

This method does not return a value.

Remarks

The position specified for the VIEW is used the first time this method is called, after which the user can drag the VIEW to another location. The new position is saved, and on subsequent calls, the most recent position is used.

Example Code

  

Requirements

Windows Media Player 9 Series or later.

See Also

Previous Next