Messenger Plus! Live - Scripting Documentation

The OnWindowidEvent_LstViewSelStateChanged event is fired when an item of a ListViewControl is selected or unselected.

Syntax

OnWindowidEvent_LstViewSelStateChanged(
    [object] PlusWnd,
    [string] ControlId,
    [number] ItemIdx,
    [boolean] SelectedState
);

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.
ItemIdx
[number] Index of the item that was clicked.
SelectedState
[boolean] Specifies the new selected state of the item.

Return Value

No value has to be returned by this event.

Remarks

When selection changes from one item to another, two events are generated: the first one is for the item that lost its selection state, the second one is for the newly selected item.

Event Information

Event Source Interface Windows
Availability Messenger Plus! Live 4.20

See Also

Script Windows Events, PlusWnd Object.