Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of DOS window on running EXE and...
Message
 
 
À
21/04/2003 11:08:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00779810
Message ID:
00779820
Vues:
13
>Secondly, when a timer event fires in the EXE that I ran automatically I want to bring to app to the front of all windows that are open. For now, the window that jumps to the front does not need to be a modal app but I'm curious how I might do that if needed.
>
You can try SetForegroundWindow API #12720
DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd
IF SetForegroundWindow(_VFP.hWnd) = 0
	*WAIT WINDOW "Didn't work"
ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform