Is it possible to simulate window main while window response is active? I want my code in window main running.
It sounds like you need a popup window instead of a response window. Response windows are modal and will halt the execution of any code in your main window.