Click here to Skip to main content
15,896,359 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to measure user inactivity? Pin
concoran4-Sep-07 11:40
concoran4-Sep-07 11:40 
AnswerRe: How to measure user inactivity? Pin
concoran4-Sep-07 11:43
concoran4-Sep-07 11:43 
GeneralRe: How to measure user inactivity? Pin
Russell'4-Sep-07 21:24
Russell'4-Sep-07 21:24 
GeneralRe: How to measure user inactivity? Pin
Rajesh R Subramanian5-Sep-07 0:33
professionalRajesh R Subramanian5-Sep-07 0:33 
GeneralRe: How to measure user inactivity? Pin
Russell'5-Sep-07 0:42
Russell'5-Sep-07 0:42 
GeneralRe: How to measure user inactivity? Pin
Rajesh R Subramanian5-Sep-07 0:50
professionalRajesh R Subramanian5-Sep-07 0:50 
GeneralRe: How to measure user inactivity? Pin
Russell'5-Sep-07 1:02
Russell'5-Sep-07 1:02 
GeneralRe: How to measure user inactivity? Pin
Rajesh R Subramanian5-Sep-07 0:35
professionalRajesh R Subramanian5-Sep-07 0:35 
concoran wrote:
I am not particularly interesting in using Mouse/Keyboard hooks since they may affect over-all computer response. Is there a way to tell MS Windows to wake up a certain CALLBACK if the user doesn't input for a certain period of time?


If you run Windows 2000 or above, you can use GetLastInputInfo() API.

See here[^].


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.

QuestionHow to terminate an MFC application after a period of inactivity Pin
Sriramak4-Sep-07 11:09
Sriramak4-Sep-07 11:09 
AnswerRe: How to terminate an MFC application after a period of inactivity Pin
led mike4-Sep-07 11:31
led mike4-Sep-07 11:31 
AnswerRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_4-Sep-07 11:33
Vaclav_4-Sep-07 11:33 
AnswerRe: How to terminate an MFC application after a period of inactivity Pin
David Crow4-Sep-07 13:38
David Crow4-Sep-07 13:38 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_5-Sep-07 3:15
Vaclav_5-Sep-07 3:15 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
David Crow5-Sep-07 3:25
David Crow5-Sep-07 3:25 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_5-Sep-07 6:12
Vaclav_5-Sep-07 6:12 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
David Crow5-Sep-07 6:18
David Crow5-Sep-07 6:18 
QuestionPossible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann4-Sep-07 9:42
abiemann4-Sep-07 9:42 
AnswerRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
Chris Losinger4-Sep-07 10:23
professionalChris Losinger4-Sep-07 10:23 
GeneralRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann5-Sep-07 7:12
abiemann5-Sep-07 7:12 
AnswerRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
David Crow4-Sep-07 13:33
David Crow4-Sep-07 13:33 
GeneralRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann5-Sep-07 7:01
abiemann5-Sep-07 7:01 
AnswerRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann5-Sep-07 7:34
abiemann5-Sep-07 7:34 
QuestionModifying consoles display Pin
Waldermort4-Sep-07 7:55
Waldermort4-Sep-07 7:55 
AnswerRe: Modifying consoles display Pin
jeron14-Sep-07 8:21
jeron14-Sep-07 8:21 
QuestionRe: Modifying consoles display Pin
Waldermort4-Sep-07 8:23
Waldermort4-Sep-07 8:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.