Messenger Plus! Live - Scripting Documentation

The OnWindowidEvent_Destroyed event is fired when a script window is destroyed.

Syntax

OnWindowidEvent_Destroyed(
    [object] PlusWnd,
    [number] ExitCode
);

Parameters

PlusWnd
[object] The PlusWnd object attached to the window that generated the event.
ExitCode
[number] A number specifying how the window was destroyed. If the user closed the window with a system command (top right corner of the window, taskbar menu, etc...), this value is EXITCODE_CANCEL (2). Else, it is the value specified in the same parameter when Close was called.

Return Value

No value has to be returned by this event.

Remarks

Messenger Plus! 4.23 and earlier: enumeration names are not available, numbers must be used instead.

Event Information

Event Source Interface Windows
Availability Messenger Plus! Live 4.00

See Also

Script Windows Events, PlusWnd Object, Close.