Removes the active display window. Be aware that the last window (and any child windows owned by the last window) cannot be removed. You cannot call this function as an exit command (see Page Properties) or from a Cicode Object.
Notes
Syntax
WinFree()
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
WinFree();
! Removes the active display window.
See Also
Published June 2018