BlackD #1 Sausage - you have to program the close window event manually. For example:Repeat If WaitEvent()=$803 Then Exit Forever +BlackD