Closing Windows

QuickWin child windows are closed with the _wclose function. Pass the routine a handle returned by _wopen and an integer that determines whether to leave the window on the screen (1) or erase it (0).

For example, to close and erase the inputWind window:

_wclose(inputWind, 0);

When a window is closed, regardless of whether it is erased or not, no further input/output operations can be performed in the window.

If the window is closed successfully, the function returns a 0.