Hi,
You will have to make a system hook and handle the mouse event, you can set
a flag when the mouse is moved storing the DateTime.Tick
you then set a timer that check every X seconds when was the last handled
event.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Iosy" <io**************@hotmail.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
Hi all,
I'm working in a application where I need to detect when the mouse is
inactive outside my form. I mean, I want to detect if the mouse hasn't
move in the last X seconds (2 por example) and in case that it hasn't,
show a menu.
Thanks