Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MessageBox hidden
Message
From
03/08/2019 06:48:03
 
 
To
07/06/2019 08:41:15
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01624326
Message ID:
01669889
Views:
55
>>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
Map
View

Click here to load this message in the networking platform