my ($MSGBOX) = &MSG_WIN(); # Create the MsgBox Object and the repeat timer inside which $STATE_of_MSGBOX_TIMER is changed. Return the MsgBox object $MW->waitVariable(\$STATE_of_MSGBOX_TIMER); # This should wait until Message Box Timer is started