Share via


Windows Media Player 11 SDK EDITBOX.getSelectionEnd 

Windows Media Player SDK banner art

Previous Next

EDITBOX.getSelectionEnd

The getSelectionEnd method retrieves the ending position of the selected text in the editbox control.

Syntax

  

Parameters

This method takes no parameters.

Return Values

This method returns a Number (long).

Remarks

If no text is selected, this method returns the position of the insertion point.

If the control is multiline, this method returns the character index in the control, not the line index.

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

Requirements

Windows Media Player for Windows XP or later.

See Also

Previous Next