Re: [Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other

2019-04-21 Thread helen.wright
discussion list. Subject: Re: [Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other Hi, I changed your sample just to add more print info, and it is working here. See attached. I suspect this could be an old bug already fixed in previous versions

Re: [Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other

2019-04-21 Thread Antonio Scuri
Hi, I changed your sample just to add more print info, and it is working here. See attached. I suspect this could be an old bug already fixed in previous versions. IUP 3.11.2 has more than 4 years now... Here is the output: D:\tecgraf\iup\bin\Win64\Lua51>lua5.1 \Downloads\close_show.lua SH

[Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other

2019-04-18 Thread helen.wright
I have a dialog with both close_cb and show_cb defined. Environment is Windows 10, Lua 5.1, IUP 3.11.2 (I can’t upgrade). When the Dialog is closed using the Close Window X, the sequence of events is: close_cb show_cb (with state = 4) The last line dlg:destroy() is never executed so i