Try the little program below. (if you don't have a mouse wheel, change it to MouseXSpeed())
While it's running, change the window focus to another program, then go back to it. On my computer at least, both variables (foo & bar) return to 0. They shouldn't do that!
Have I missed something fundamental (it's nearly 2.30am here and I'm knackered), or is this a bug?
While it's running, change the window focus to another program, then go back to it. On my computer at least, both variables (foo & bar) return to 0. They shouldn't do that!
Graphics 640,480,31,2 foo = 0 Repeat Cls foo = MouseZSpeed() bar = bar + foo Text 320, 230, foo, 1, 1 Text 320, 250, bar, 1, 1 Flip Until KeyHit(1) End
Have I missed something fundamental (it's nearly 2.30am here and I'm knackered), or is this a bug?