Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate Window using hWnd
Message
 
À
06/01/2005 12:33:48
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00974484
Message ID:
00974869
Vues:
69
>Hi George,
>
>>
>>While I know you have your answer, an altenative is the SetActiveWindow() function. You only need to pass the window handle as a parameter.
>>
>
>Actually, I couldn't get that to work. It seems that it works with top-level windows only, i.e. _VFP.hWnd, but I could have been doing something wrong.

Joel,

The only things I can think of are rather than passing _VFP.hWnd you try either _SCREEN.hWnd or _SCREEN.Forms(1).hWnd.

Don'y forget that _VFP.hWnd is the frame and _SCREEN.hWnd is the desktop.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform