>>Also, every time the user presses any key, you would have to Reset() the Timer. This is the tricky part. Probably you would need to intercept Form.KeyPress(), set Form.KeyPreview to .T., and do all this in your base form. I don't know how to intercept clicks on the menu.
>
>Can't you track the mouse movement?
>
>Einar
I don't know, really - never tried to create a "screen saver" or similar. But I believe mouse movement would be tracked by the MouseOver Event, for each form. I am not sure whether it can be tracked for the VFP desktop.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)