WinFree
- Last UpdatedJul 18, 2023
- 1 minute read
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 or from a Cicode Object.
Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.
Syntax
WinFree()
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
WinFree();
! Removes the active display window.