Hi Michelle,
The collar will issue the warning tone and when he crosses into the correction zone is when the collar will issue the correction immediately. You might want to adjust the boundary on the transmitter to make it further away from that area so he hears the warning and feels the correction before he gets to the window. You may want to adjust the correction level on the collar as well to make it stronger.