dunno if it's still useful to you, but i might as well post it - how to get the desktop area (minus taskbar)
Const SPI_GETWORKAREA:Int = 48
Extern "Win32"
Function SystemParametersInfoA:Int(action:Int, param:Int, param2:Byte Ptr, winini:Int)
EndExtern
Function GetDesktopArea(lpRect:Int Ptr)
SystemParametersInfoA(SPI_GETWORKAREA, 0, lpRect, 0)
End Function
Local deskRect:Int[4]
GetDesktopArea(deskRect)
Print "Desktop area: " + deskRect[0] + ", " + deskRect[1] + " -> " + deskRect[2] + ", " + deskRect[3]