… sorry – yet more clarification.
When I said “if I modify the script to add something (a message box) say, after the call to “dlg:destroy()”, the message box code never gets called if I call dlg:destroy.” Again – what I meant is that if you click on the ‘OK’ button in the dialog, the script exits at the call to dlg:destroy(). But it doesn’t exit there if I closed the dialog by clicking on the ‘X’ in the dialog’s top-right corner. In that case, the script continues to execute after the call to dlg:destroy() and the message box is displayed. Simon From: Simon Orde [mailto:simono...@family-historian.co.uk] Sent: 19 June 2019 6:57 PM To: 'IUP discussion list.' Subject: RE: [Iup-users] IUP crash in Debug Mode To be precise, when I said “If I run the iup dialog script from my previous post… in (Visual C++) debug mode … it will close the application”, I meant: “… it will close the application if you click on the OK button in the dialog”. It will not close the application if you click on the ‘X’ in the dialog’s top-right corner. Just wanted to be 100% clear about that. Simon
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users