Dnia środa, 4 stycznia 2006 23:07, Lennie De Villiers napisał:
>  Hi,

>  How can I check if MS Windows as been inactive for a period of time?
> Similar to the way the screensaver check.

>  Can I capture an event?

>  Using Delphi 6 EE

>  Kind Regards,

>  Lennie De Villiers

No, you can't capture an event - but you can install a hook. Search for "hook" 
on http://delphi.about.com
Of course, you will have to install two hooks: for the keyboard and for the 
mouse.
You can get some code to get yourself started from
http://sourceforge.net/projects/mikebrother - just download the sourcecode for 
Hooks.dll

Cheers
Mike

                
___________________________________________________________ 
Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - 
http://santas-christmas-party.yahoo.net/


-----------------------------------------------------
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