Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why form is not in focus
Message
De
09/11/2001 11:49:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00579708
Message ID:
00579714
Vues:
39
Hi Costas,

Put this in the INIT() of the form:

DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,THIS.CAPTION)
=SetForegroundWindow(hWnd)

HTH
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform