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
02/04/2004 13:55:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How can I get Top Level Form to be on Top ?
Divers
Thread ID:
00891851
Message ID:
00891851
Vues:
51
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.
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform