If @setting is %TRUE, then clicking the close button on the window will not destroy it, but only hide it.
whether to hide the window when it is closed
See Implementation
If @setting is %TRUE, then clicking the close button on the window will not destroy it, but only hide it.