Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 showwindow ?
Message
De
28/10/1998 14:30:35
 
 
À
28/10/1998 14:15:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00151825
Message ID:
00151835
Vues:
20
>I want to find and show a window(the code below does that)
>but its not the active window. I have to click on it.
>Is there some to make it the active window?
>Thanks
>Ken Paulson
>
>DECLARE INTEGER FindWindow IN Win32API;
> STRING @lpClassName, STRING @lpWindowName
>lctitle="Alarm"
>w_handle = FindWindow(0, @lctitle)
>if w_handle>0
>DECLARE LONG ShowWindow IN USER32 LONG NHWND, LONG NSHOWHOW
>=ShowWindow(w_handle,1)
>endif

Do you want to do it outside VFP application or inside? The latter task can be done by native VFP means.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform