Windows Media Player SDK banner art
PreviousNext

THEME.currentViewID

The currentViewID attribute specifies or retrieves the currently displayed VIEW.

Syntax

theme.currentViewID

Possible Values

This attribute is a read/write String specifying the id of the current VIEW. It has no default value.

Example

<THEME currentViewID="startView">
  <VIEW>
    <TEXT value="this would have been the default view"/>
  </VIEW>
  <VIEW id="startView">
    <TEXT value="go to new view"
        onclick="jscript:theme.currentViewID='newView'"/>
  </VIEW>
  <VIEW id="newView">
    <TEXT value="new view"/>
  </VIEW>
</THEME>

Remarks

Specifying currentViewID automatically closes the existing currentView (pointed to by the view global attribute) and opens the specified VIEW.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.