multiple display on fullscreen

Discuss any general programming issues here
Post Reply
ilbarbax
Posts: 117
Joined: Thu Apr 01, 2010 6:41 pm

multiple display on fullscreen

Post by ilbarbax »

I cerated a @DISPLAY in fullscreen mode then i tried to create a couple of other displays on smaller size let's say 100x300. When try to open one of those displays I get an error "Unable to change display size to 100x300" it seems that Hollywood is focused on the display 0 (the one i fullscreenmode) and then it tries to change the size but is not possible not being windowed.
Should I insted create a display with the size of the screen rather than one on fullscreeen mode?

Code: Select all


@DISPLAY 1,{Title = "screen", Mode="FullScreen", Width=#NATIVE, Height=#NATIVE, Color = #BLACK}
D_W = GetAttribute(#DISPLAY,1 , #ATTRMAXWIDTH)
D_H = GetAttribute(#DISPLAY,1 , #ATTRMAXHEIGHT) 
CreateDisplay( 2,{ X=#RIGHT, Y=#CENTER, Width=100, Height=300, Color = #SILVER})
CreateDisplay( 3,{ X=#LEFT, Y=#CENTER, Width=100, Height=300, Color = #SILVER})
OpenDisplay(2)
please advise
Flinx
Posts: 192
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: multiple display on fullscreen

Post by Flinx »

Seems your display 2 is too small. With Width=130 it works. But I don't have an explanation.
ilbarbax
Posts: 117
Joined: Thu Apr 01, 2010 6:41 pm

Re: multiple display on fullscreen

Post by ilbarbax »

Right it's odd but it works. Thanks.

Strange I put a dimension just for testing. Casually I put a small dimension encouring the problem.
Post Reply