Environment versions
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.
I try every flag without success.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only