Weird MoveDisplay() on OS4
Posted: Wed Nov 04, 2015 9:57 pm
Ok, this is rather be an OS4 bug, but please test it on different configs. Maybe we can locate who should be addressed to solve it.
Displays a small window which changes it's vertical position along with horizontal mouse position.
It works.
Now change it a bit to the window movement reflect on vertical mouse movement. (Change MouseX() to MouseY()).
This will make totally mad window movement. Could it be an OS bug?
Displays a small window which changes it's vertical position along with horizontal mouse position.
It works.
Code: Select all
@DISPLAY {width=90,height=30,borderless=false,sizeable=false}
function p_move()
MoveDisplay(200,MouseX())
endfunction
InstallEventHandler({onmousemove=p_move})
repeat
WaitEvent
forever
This will make totally mad window movement. Could it be an OS bug?
Code: Select all
@DISPLAY {width=90,height=30,borderless=false,sizeable=false}
function p_move()
MoveDisplay(200,MouseY())
endfunction
InstallEventHandler({onmousemove=p_move})
repeat
WaitEvent
forever