I don't know if my last message made it to the list so I am posting it
again:

I am not sure if I understood properly but here is what I tried:

1. Defined the close_cb callback for the dialog. The function always
returns iup.IGNORE
2. If a variable value is true then only it will destroy the dialog
otherwise just do iup.Hide for the dialog
3. When I do want to destroy it in the timer call back I simply call the
callback function directly something like dlg:close_cb() after setting the
variable value to true so that this time the call destroys it.

I did this but I still see the crash. I have attached the modified file.
The close_cb function is defined at line 68.

Thanks Ariset for suggesting HIDETASKBAR but I did not understand how would
that be different from the above approach.

Thanks,
Milind

Attachment: plotter.lua
Description: Binary data

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to