>Our application does present messagebox's to the user and now that we have most using multiple monitors we are getting complaints that the messagebox is centered. (ie split between the 2 monitors)
>
>Is there a solution to having the messagebox center on the monitor with the form? (i don't think there is with the standard messagebox)
>
>What has others done in this case?
>
>Thanks in advance
Use a variable that denotes whether or not dual monitors are present. for all of your messagebox calls, use a .prg that determines if it is false, then call messagebox(), otherwise, call a custom message window where you can specify where you want it to display.
Forgot to add: Doug H had two good articles on multiple monitors:
http://doughennig.blogspot.com/2007/04/handling-multiple-monitors.htmlhttp://doughennig.blogspot.com/2010/02/multiple-monitor-class.html
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"