Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a VFP Window to be on top of all other windows
Message
De
28/03/2000 15:25:51
 
 
À
28/03/2000 14:29:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00351538
Message ID:
00351604
Vues:
35
Hi Joe.

Add the following code in to your code and give it a try.

DECLARE Integer SetFocus IN WIN32API Integer

>DECLARE INTEGER ShowWindow IN WIN32API INTEGER hWnd, INTEGER ShowWindowMode
>DECLARE INTEGER GetActiveWindow IN WIN32API

>lnHandle = FindWindow(0, 'frmMessageForm')

>=ShowWindow(GetActiveWindow(),5)

=SetFocus(GetActiveWindow())

Rob.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform