DHTMLX close


I have written an even on close in javscript following is the code.

dhxWins.attachEvent(“onClose”, function(win) {



        // some other things;



My question is that as i have overriden the close even so i am using hide to hide the window not closing it. Can please tell me how to close window in this situation.


you can use close method