Share via


Windows Media Player 11 SDK EDITBOX.replaceSelection 

Windows Media Player SDK banner art

Previous Next

EDITBOX.replaceSelection

The replaceSelection method replaces the current selection with the specified text.

Syntax

  

Parameters

  newValue

String containing the text to replace the selected text.

Return Values

This method does not return a value.

Remarks

If there is no text selected, the replacement text is inserted at the current location of the insertion point.

This method can only be called after the control becomes visible.

Requirements

Windows Media Player for Windows XP or later.

See Also

Previous Next