Q. Window class, on Close/2 (Solved)
1. is executed when a visible window is being created
2. is executed when a window is being closed, it is possible to prevent the win- dow from closing
3. when the background of a window must be erased this event is executed
4. when a window must be re-painted this event is executed
- b. is executed when a window is being closed, it is possible to prevent the win- dow from closing