Click here to Skip to main content
14,832,408 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to measure user inactivity? Pin
Russell'4-Sep-07 21:24
MemberRussell'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
MemberRussell'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
MemberRussell'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 
QuestionHow to terminate an MFC application after a period of inactivity Pin
Sriramak4-Sep-07 11:09
MemberSriramak4-Sep-07 11:09 
AnswerRe: How to terminate an MFC application after a period of inactivity Pin
led mike4-Sep-07 11:31
Memberled mike4-Sep-07 11:31 
1) For mouse/keyboard messages pretranslate might do or setup message hooks, whatever works. If other devices are used to interact with the program you have to account for them as well.

2) Upon any of those messages you cancel the previous duration timer and set a new one.

3) If the timer ever expires you exit the application.



AnswerRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_4-Sep-07 11:33
MemberVaclav_4-Sep-07 11:33 
AnswerRe: How to terminate an MFC application after a period of inactivity Pin
David Crow4-Sep-07 13:38
MemberDavid Crow4-Sep-07 13:38 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_5-Sep-07 3:15
MemberVaclav_5-Sep-07 3:15 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
David Crow5-Sep-07 3:25
MemberDavid Crow5-Sep-07 3:25 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
Vaclav_5-Sep-07 6:12
MemberVaclav_5-Sep-07 6:12 
GeneralRe: How to terminate an MFC application after a period of inactivity Pin
David Crow5-Sep-07 6:18
MemberDavid Crow5-Sep-07 6:18 
QuestionPossible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann4-Sep-07 9:42
Memberabiemann4-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
Memberabiemann5-Sep-07 7:12 
AnswerRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
David Crow4-Sep-07 13:33
MemberDavid Crow4-Sep-07 13:33 
GeneralRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann5-Sep-07 7:01
Memberabiemann5-Sep-07 7:01 
AnswerRe: Possible to prevent [Space] key from pressing OK, and [Esc] pressing CANCEL ? Pin
abiemann5-Sep-07 7:34
Memberabiemann5-Sep-07 7:34 
QuestionModifying consoles display Pin
Waldermort4-Sep-07 7:55
MemberWaldermort4-Sep-07 7:55 
AnswerRe: Modifying consoles display Pin
jeron14-Sep-07 8:21
Memberjeron14-Sep-07 8:21 
QuestionRe: Modifying consoles display Pin
Waldermort4-Sep-07 8:23
MemberWaldermort4-Sep-07 8:23 
AnswerRe: Modifying consoles display Pin
jeron14-Sep-07 8:26
Memberjeron14-Sep-07 8:26 
QuestionLink error in VC++ 8 Pin
shpid3r4-Sep-07 7:35
Membershpid3r4-Sep-07 7:35 

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.