|
PlusWnd::Close
The PlusWnd::Close function destroys the window.
Syntax
Close(
[number] ExitCode
);
Parameters
- ExitCode
- [number] A number specifying the exit code for the window.
It has no particular meaning for Messenger Plus! and can be
anything the script's developer wishes it to be. The following
enumeration lists some standard exit codes that can be used, if
needed:
|
EXITCODE_OK (1)
EXITCODE_CANCEL (2)
EXITCODE_ABORT (3)
EXITCODE_RETRY (4)
EXITCODE_IGNORE (5)
EXITCODE_YES (6)
EXITCODE_NO (7)
|
OK
Cancel
Abort
Retry
Ignore
Yes
No
|
Return Value
No value is returned by this function.
This function typically fails for the following reason:
- The PlusWnd object refers to a window that has been
destroyed.
Remarks
The object generates an OnWindowidEvent_Destroyed
event when the destruction occurs.
Messenger Plus! 4.23 and earlier: enumeration names are not
available, numbers must be used instead.
Function Information
| Object |
PlusWnd |
| Availability |
Messenger Plus! Live 4.00 |
See Also
PlusWnd Object.
|