Messenger Plus! Live - Scripting Documentation

The OnWindowidEvent_LstBoxSelChanged event is fired when the user changes the current selection in a ListBoxControl.

Syntax

OnWindowidEvent_LstBoxSelChanged(
    [object] PlusWnd,
    [string] ControlId
);

Parameters

PlusWnd
[object] The PlusWnd object attached to the window that generated the event.
ControlId
[string] Unique identifier of the control that generated the event.

Return Value

No value has to be returned by this event.

Remarks

The index of the newly selected item can be retrieved with PlusWnd::LstBox_GetCurSel and can be -1 if the selection was cleared. This event is not fired when the selection is changed with PlusWnd::LstBox_SetCurSel.

Event Information

Event Source Interface Windows
Availability Messenger Plus! Live 4.01

See Also

Script Windows Events, PlusWnd Object, PlusWnd::LstBox_GetCurSel.