
Code: Select all
OpenWindow(1,10,10,50,50,"")
OpenWindow(2,100,10,50,50,"")
OpenWindow(3,200,10,50,50,"")
Sleep_(2000) ; Click Calculator during this time!
GetForegroundWindow_()
Repeat : Sleep_(1) : ForEver
Code: Select all
OpenWindow(1,10,10,50,50,"")
OpenWindow(2,100,10,50,50,"")
OpenWindow(3,200,10,50,50,"")
Sleep_(2000) ; Click Calculator during this time!
GetForegroundWindow_()
Repeat : Sleep_(1) : ForEver
Code: Select all
OpenWindow(1,10,10,50,50,"")
OpenWindow(2,100,10,50,50,"")
OpenWindow(3,200,10,50,50,"")
Repeat : Delay(0) : ForEver
;Repeat : e = WindowEvent() : ForEver
Sorry dude, but this posting is nothing else then ridiculous. In six lines you use three Api's, don't mind the minimum rules for an event loop and and then you dare to post this here in the bug-forum?Dude wrote:This is the weirdest bug I've ever seen. Three windows are opened at the same Y position, but if you click another window during the delay (such as Calculator), then the third window magically moves down a little bit lower than the others.
Code: Select all
OpenWindow(1,10,10,50,50,"") OpenWindow(2,100,10,50,50,"") OpenWindow(3,200,10,50,50,"") Sleep_(2000) ; Click Calculator during this time! GetForegroundWindow_() Repeat : Sleep_(1) : ForEver