Messenger Plus! Live - Scripting Documentation

The OnWindowidEvent_Cancel event is fired when the user chooses to close the window with a system button (like the cross button in the top right corner of the window) or a button which Id is "BtnCancel".

Syntax

[boolean] OnWindowidEvent_Cancel(
    [object] PlusWnd
);

Parameters

PlusWnd
[object] The PlusWnd object attached to the window that generated the event.

Return Value

A boolean value used by Messenger Plus! to ignore the request. If the function returns true, the cancel request is ignored, if it returns false (default the event is not handled), the window is destroyed.

Remarks

None.

Event Information

Event Source Interface Windows
Availability Messenger Plus! Live 4.00

See Also

Script Windows Events, PlusWnd Object.