WindowEvent_Close ( win )
Returns true if the window close event is called.
Example: