Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make FoxPro top window automatically with a timer
Message
De
06/09/2001 13:14:30
 
 
À
06/09/2001 12:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00553209
Message ID:
00553248
Vues:
15
Hi Larry

The following should do the trick. But only from the application itself.

* This will insure the form is visible on the desktop.
THISFORM.WINDOWSTATE = 2
* This will bring it to the forground of the desktop.
DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,THIS.CAPTION)
=SetForegroundWindow(hWnd)

HTH
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform