Does anybody know how to handle the termination command issued from the task manager inside an application ? I know that many applications ask the user if he really want to exit when he try to close them with the task manager plus the cancel button. If I try to close my application in this way nothing happens. So where I can handle the close command in my application ?