quattj
Member
Is it possible to perform an event when either alt-F4 or the Windows 'x' button is clicked to close the window? I am making an editor, and I do not want these to close the editor before confirming that changes have been saved.
I currently have a confirmation dialog that pops up if ESC is used to close it, and I'd like to apply that same dialog to alt-F4 and 'x'
I currently have a confirmation dialog that pops up if ESC is used to close it, and I'd like to apply that same dialog to alt-F4 and 'x'