I'm using the OnIdle-event for some simple animations, and it works all right. The trouble, though, is when the user starts to move or resize the window, the OnIdle-event stops firing until the move/resize-operation is completed.
I need to detect when this happens, so that I can pause all animations. But how do I detect movement of the window?