MSG-CLOSE
This event is fired when the user has pressed the close button on the title bar of a DOCKING, MDI-PARENT or STANDARD window. The window is automatically destroyed unless the program assigns the symbolic value "EVENT-ACTION-FAIL" to the EVENT-ACTION data item. The EVENT-WINDOW-HANDLE data item contains the handle of the window that has generated the event.