Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get Top Level Form to be on Top ?
Message
De
16/04/2004 06:46:05
 
 
À
02/04/2004 13:55:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00891851
Message ID:
00895463
Vues:
16
You haven't got a conflicting "AlwaysOnTop=.T. " on any other forms, have you?

Terry

>I'm using VFP 7.0
>
>I have an exe that opens a Top Level Form (showwindow=2), but I can't seem to get it to appear on top of all the other windows.
>
>I have a different app that works just fine, but I can't get this one to work properly, and I can't find any differenct between the 2 apps.
>I have this in both forms and call it, but it doesn't work in the 2nd app.
>
>myForm.SetFocus()
>  DECLARE INTEGER SetForegroundWindow ;
>    IN User32.DLL INTEGER
>  SetForegroundWindow( THIS.HWND )
>
>I've even set AlwaysOnTop=.T. and it still won't go to the top.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform