Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making top level form active
Message
De
03/04/2003 19:10:23
 
 
À
02/04/2003 09:01:47
Martin Martin
Ivy League Software LLC
Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00768739
Message ID:
00773836
Vues:
23
Hi David,

Good for you! I assume you are using VFP 7 or later, coz my VFP 6 doesnt have the HWnd property.

>:: lh_form = _SCREEN.ACTIVEFORM
>:: DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd
>:: =SetForegroundWindow(lh_form.HWnd)
>
>This same thing has bugged me ... but was something I had not gotten around to investigating yet ... adding these three lines between my DO FORM and READ EVENTS in my _start.prg did the trick ... thanks guys.
>
>David
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform