Zoran,
This is usually an indicator that your form.LockScreen is set to .t.
>I am using VFP6 SP5, Windows NT 4 SP 6 and I have noticed the following problem.
>
>If user activates another application that is positioned on top of the main VFP form and then switch back to Visual FoxPro, Paint behaves strangely. the Paint event does not fire, thus, the area that has been covered by the other application remains empty or contains parts of the other application window.
>
>I understand that Paint event does not fire when activating/deactivating the non VFP screens, but I cannot understand why the VFP screen does not refresh properly?