<div dir="ltr">Hello,<br>I have two little problems:<br>-first, is there any way to detect that the user try to close the window? because it seems no event append when i close the window and i really don&#39;t know how to do.<br>
<br>-then, if i create two windows, closing one make the program completely stop. Is there a way to avoid this and let the second window opened?<br><br>thanks in advance<br></div>