Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API to move to front
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01400668
Message ID:
01400675
Vues:
78
>Hi Gang...
>
>In the EXE here, it calls another EXE that comes to the front of the desktop.
>
>After 300 seconds, the first EXE needs to come back to the front, but it doesn't.
>
>Is there an API to move the first EXE back to the front after the timeout?
>

Next to SetForeGroundWindow() etc., perhaps you can handle it internally: if the first.EXE is your own Vfp code, then this might work (assuming _screen.Visible=.T.):
With _screen
    .AlwaysOnTop = !.AlwaysOnTop
    .AlwaysOnTop = !.AlwaysOnTop
EndWith
hth
-Stefan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform