Messenger Plus! Live - Scripting Documentation

The ChatWnd::HistoryText_GetCurSelEnd function returns the index following the last character currently selected in the message history area (where received messages are displayed).

Syntax

[number] HistoryText_GetCurSelEnd(
);

Parameters

None.

Return Value

A numeric value representing a position in the text, ranging from 0 to the size of the text currently in the message history area. If nothing is selected, the return value is 0.

This function typically fails for the following reason:

Remarks

Some versions of Messenger clear the selection in the message history as soon as the control loses focus. Windows Live Messenger 8.1 is known to keep the selection intact.

Function Information

Object ChatWnd
Availability Messenger Plus! Live 4.20

See Also

ChatWnd Object, HistoryText_GetCurSelStart.