[ROOT] "Close window" confirmation

From: Vassili Maroussov (vmarusov@fnal.gov)
Date: Tue Aug 31 2004 - 18:05:18 MEST


Dear all,

what method of TGMainFrame is being executing when one clicks on the 
Close Window ("x") button or press Alt+F4? What I want is to avoid 
accidental program exit, to insert an exit confirmation dialog.

Thank you,

Vassili.

P.S. I tried to override the CloseWindow and SendCloseMessage, but it 
didn't help.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET