Versions des environnements
Network:
Windows 2008 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement