Hello,
I have some custom code in the event procedure for an Exit menu item in a GUI app. I would like to have the same custom code when the user closes the application via the 'X' located at the top right side of GUIs instead of the File->Exit. Is it possible to do something like that? Is there something like "on_exit" procedure I can modify?
Thanks,
|