Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 showwindow ?
Message
De
28/10/1998 14:15:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Vfp6 showwindow ?
Divers
Thread ID:
00151825
Message ID:
00151825
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform