Hi all :-)

 

Got a Q that's been buggin me all day - how can you send a msg to the
system that replicates a mouse move so that the system idle timer is
reset. eg:  when MSN msngr detects system inactivity for n minutes, it
displays the user as 'Away'. I want to be able to programmatically reset
the system time so the system thinks it isn't inactive (eg: msgnr would
be 'active').

 

I've tried SetCursorPos, SendMessage(Handle, WM_MOUSEMOVE, 0, 0),
mouse_event(MOUSEEVENTF_ABSOLUTE and MOUSEEVENTF_MOVE). Getting the
cursor to move is the easy bit, but that doesn't send the appropriate
msg to the system to indicate occurring activity.

 

Any ideas?

 

Thanks :-)

 

 

 

 

 

 

 



[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to