Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MessageBox hidden
Message
De
07/06/2019 08:41:15
 
 
À
06/09/2015 05:31:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01624326
Message ID:
01668959
Vues:
63
>We have this problem.
>When the program executes a MessageBox,
>the message window does not appear in the foreground.
>By pressing ALT in some cases it appears, but very often
>we have to try several times.
>
>Does anyone have a solution?
>Thanks.

Is your form already set to AlwaysOnTop = .T.? It may be overlaying the MessageBox() window.

You can use FindWindow() and EnumChildWindows() to find windows in Win32 programming. You could locate the window and send it a message to move itself to the top of the Z-Order. That would be a fairly easy way to address your needs.

If you cannot find a solution and feel you must use MessageBox() let me know and I'll write you a little DLL helper program to do this for you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform