PC Review


Reply
Thread Tools Rate Thread

how to check wether a user is idle

 
 
HamuNaptra
Guest
Posts: n/a
 
      20th May 2004
Hi,

I'm creating an app. in C# that shows a popup, but it only should if the user is
really
working on the computer.
It shouldn't popup if e.g. the screensaver is running.
I the user is working again, it then should popup.

But how do I check the amount of user idle time?


 
Reply With Quote
 
 
 
 
HamuNaptra
Guest
Posts: n/a
 
      20th May 2004
I found an api call to GetAsyncKeyState() which maybe does what I need,

I've never worked with api calls in c#.
Could somebody write some code using GetAsyncKeyState()?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check wether CType() will throw InvalidCastException? Joe HM Microsoft VB .NET 7 7th Nov 2008 11:24 AM
how to check programatically wether a oracle stored procedure has default valued parameters? hiten Microsoft ADO .NET 2 2nd Aug 2006 09:48 AM
Check wether path exists =?Utf-8?B?am9rb2Jl?= Microsoft Access VBA Modules 1 31st Mar 2005 01:55 PM
Check wether Outlook is opened - VBA nike Microsoft Outlook VBA Programming 4 1st Jul 2004 05:01 PM
how to check user idle time HamuNaptra Microsoft C# .NET 1 20th May 2004 02:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:47 AM.