User Delmonte, Tom (email@example.com) posted:
What has worked for us in the past is using the following statement:
if (win_exists ("current window")==E_OK)
set_window("new window", 1);
Where 'current window' is the one which you are waiting to go away and 'new
window' is the one you are waiting to show up.