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