>Hello All:
>
>Maybe somebody has already found the solution to this problem. I have an old VFP 9 application that was install in windows 7 and the Messagebox windows is not displaying in the front of all form as does in previous version of windows. Anybody has a work around of this.
>
>TIA
If your messagebox is a form, try this:
DECLARE INTEGER SetForegroundWindow ;
IN WIN32API ;
INTEGER hwnd
SetForegroundWindow(thisForm.hwnd)
CLEAR DLLS "SetForegroundWindow"
If it's the default MESSAGEBOX() I'm not sure how to do it. I also haven't seen that behavior in Win7 64bit.