We have a plugin that lets operators control a Quadcopter Drone.
We do not want the user to accidentally close the Smart Client when the drone is in flight, because that will trigger the drone to return to base and land. I need a way to capture the close event (click on “X” or Alt-F4) so that I can prompt the user with a “Are you sure you want to do this?”.