Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App does not start on top in Win2000
Message
De
24/07/2000 17:44:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00396363
Message ID:
00396372
Vues:
10
Hi Dennis,
>I got a new machine last week with Win2000. The VFP app that I am about ready to release does not startup on top of the other windows on the screen when I start the EXE. It works OK in Win95 and WinNT.
>
>I have noticed this behavior with other programs in Win2000. For instance QuickView Plus starts up behind the Explorer window when I view a file. Does anybody know if this is a bug or a new feature of Win2000?
>
>I found that I can get my app to come the top with 2 lines of code:
>
>_SCREEN.AlwaysOnTop = .T.
>_SCREEN.AlwaysOnTop = .F.
>
>but it does not get focus until I click on it.
>
>Does anybody know how I can set focus to my app? Maybe an API function?

Check out the ShowWindow API function

Jon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform