ShowDisplay() fails if display outside of visible screen
Posted: Sat Apr 10, 2010 7:53 pm
Hi
If I move a display partly outside the visible screen and later hide and display it i get a message like this:
Unable to change displaysize to 1024 x 1024
...(if that is the size of the display).
The code below triggers the error as my display has the dimensions 1920 x 1200. So 300+1024 is beyond that.
Since displays partially outside the visible area are legal, I suspect this is a bug.
regards
Jesper
@DISPLAY {x=300,y=300}
CreateBGPic(2,1024,1024,#RED)
SetDisplayAttributes({BGPic=2})
WaitLeftMouse
HideDisplay()
Wait(100)
ShowDisplay()
WaitLeftMouse
End
If I move a display partly outside the visible screen and later hide and display it i get a message like this:
Unable to change displaysize to 1024 x 1024
...(if that is the size of the display).
The code below triggers the error as my display has the dimensions 1920 x 1200. So 300+1024 is beyond that.
Since displays partially outside the visible area are legal, I suspect this is a bug.
regards
Jesper
@DISPLAY {x=300,y=300}
CreateBGPic(2,1024,1024,#RED)
SetDisplayAttributes({BGPic=2})
WaitLeftMouse
HideDisplay()
Wait(100)
ShowDisplay()
WaitLeftMouse
End