Christian Studer 2011-06-01 08:44
That's not supported, but you can get the coordinates and dimensions of the monitors, then position and size your window accordingly.
Assuming you have 3 monitors, positioned in a single row, with monitor 1 on the left, 2 in the center and 3 on the right, you would use code like this to determine the position and size needed to place a window across monitors 1 and 2:Set sys = CreateObject("UltraMon.System")
Set mon1 = sys.Monitors("1")
x = mon1.WorkLeft
y = mon1.WorkTop
width = mon1.WorkWidth
height = mon1.WorkHeight
Set mon2 = sys.Monitors("2")
width = width + mon2.WorkWidth
Christian Studer - www.realtimesoft.com
|