Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making Form At Top
Message
 
 
À
24/10/2001 04:23:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00572469
Message ID:
00572472
Vues:
19
Hi!

You require to use SetForegrounWindow() Windows API function. You can find VFP main screen window HWND handle by using GetActiveWindow() or FindWindow() API functions.

>Hi,
>
>I have an VFP 5 app that works in background. How to make it the top most window on some event. I use form.show to make it visible but for example when some other app or game is running the form only gets visible but focus is not switched to it.
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform