messagebox  
Author Message
IvanIvanov





PostPosted: Mon Jul 18 21:39:20 CDT 2005 Top

Exchange Servers >> messagebox

I use the microsoft messagebox to display notices. I'm now having a problem
with an installation that uses 2 monitors side-by-side. The message box
comes up in the middle of the 2 screens.

Obviously, not optimum. Is there a way to change the location?

Thanks in advance,

Exchange Server19  
 
 
Jack





PostPosted: Mon Jul 18 21:39:20 CDT 2005 Top

Exchange Servers >> messagebox On Mon, 18 Jul 2005 17:42:02 -0700, Rick Stanley


>I use the microsoft messagebox to display notices. I'm now having a problem
>with an installation that uses 2 monitors side-by-side. The message box
>comes up in the middle of the 2 screens.
>
>Obviously, not optimum. Is there a way to change the location?

Are you calling the VFP function MessageBox or calling the Windows API
directly?

The VFP function had this problem with older VFP versions. I know it
works correctly in VFP8, and maybe in VFP7 too.

If you call the Windows API directly, I suspect that if you pass an
hwnd to a VFP window the message box will be in whichever monitor
contains the hwnd window.