[quote="D.J.Peters]
Do you tried to disable the 60Hz thread before ?
test 1: NOK
set window position
screencontroll POLL_EVENTS
get window position
test 2: NOK
set window position
screenlock : screenunlock
get window position
test 3: OK
set window position
sleep 500,1
get window position
test 4: (combine test 1 and test 2) NOK
set window position
screencontroll POLL_EVENTS
screenlock : screenunlock
get window position
How to disable 60hz constraint?
For now the sleep goes ok. About what value is necessary for the sleep at minimum, dodicat might well have answered even if I don't know how to force the sleep resolution.
The polling until success by badiea is quite a good idea too.
What surprises me is that, if Setscreenpos (screencontrol) doesn't retun any error, then FB should know it and is able to assign the good values by advance to Getscreenpos. Or otherwise the behaviour would have to be documented, screencontrol being here not perfectly consistent from the simplest user view.