Bonjour,

On peut essayer un timer qui toutes les 500 ms fasse :

SetactviveWindow(myMainForm.handle) ;
SetForegroundWindow(myMainForm.handle) ;