>I need to detect what the user does.
>I have a custom class that it activates only with the changes of focus of the windows, made by users, and I can't detect those changes of focus.
>Did you understand?
Yes and I meant Activate (also deactivate of form losing focus) event is raised when a form gets focus. You can also check it with a timer + activeform.
Cetin