How to run in 2 monitors

BlitzMax Forums/BlitzMax Beginners Area/How to run in 2 monitors

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This doesn't seem to work. I used...

screenWidth = GadgetWidth(Desktop()) 
screenHeight = GadgetHeight(Desktop()) 

screenDepth = GetDeviceCaps(hDC, BITSPIXEL)

If screenDepth < 16
   screenDepth = GetDeviceCaps(hDC, PLANES)
   If screenDepth < 16 Then Return
EndIf 

screenHertz = GetDeviceCaps(hDC, VREFRESH)
If screenHertz < 60 Then screenHertz = -1

Graphics screenWidth, screenHeight, screenDepth, screenHertz


Now the 2 people that were testing this on their multiple monitor setups now say NOTHING appears whereas before using this to get the desktop size it ran in at least one of the monitors

      screenWidth = GetDeviceCaps(hDC, HORZRES)
      screenHeight = GetDeviceCaps(hDC, VERTRES)


Does anyone know how to run BlitzMax to run in both monitors?