Share via


Windows Media Player 11 SDK LISTBOX.setSelectedState 

Windows Media Player SDK banner art

Previous Next

LISTBOX.setSelectedState

The setSelectedState method selects or unselects the item with the specified index.

Syntax

  

Parameters

  index

Number (long) containing the index of the item to select or unselect.

  selected

Boolean value indicating whether the item is to be selected (true) or unselected (false).

Return Values

This method does not return a value.

Remarks

This is used to select or unselect multiple lines.

Requirements

Windows Media Player for Windows XP or later.

See Also

Previous Next