Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top Level form isn't top level (Win 2000)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00495789
Message ID:
00495793
Vues:
31
>I've got a situation that's driving me nuts! VFP 5.0
>
>I have a 2-As Top Level Form that works great in Windows 98, but has gone nuts in Windows 2000. When I start the application, it fires up the form behind any explorer windows which are open. I've tried everything!
>
>The only thing I've found that works, is removing SCREEN=OFF from CONFIG.FPW. I put an Application.Visible = .F. in the main program, and everything works fine. Problem is, it does that ugly "flash" of the VFP screen.
>
>I can't be the only person who's experienced this. I saw Ed Rauh's solution using WindowPos API call, but that doesn't fix it either.

Try the SetForeGroundWindow API function. It's in the WinAPI section.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform