quote:
Originally posted by CookieRevised
EDIT: just did a quick'n dirty test for the random placement of the window. Works perfectly so far. But the big problem is that MsgPlus.AddTimer does not allow a time of less than 100ms... and for the simulation you would need something like 10ms... :/
So, another possebility would be to use Windows timers. But you can't do that assyncroniously. So that would mean you 'lock' up all execution of Messenger for as long as the nudge simulation runs (=approx. 1 sec I think).
Something I've thought about before with timers - is it possible, for example, to set two timers, one at 100ms and the other at 150ms, and then loop both so that something can be done every 50ms?
And then for this, maybe 10 timers, from 100ms to 190ms, and then repeat all 10 timers 10 times (in order to make it last 1s)? I'll try it in a moment and see if it works.
Edit: seems to...