Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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
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 
I tought you would have to have this GetLastInputInfo()API in a loop to monitor the inactivity.

IMHO that defeats the very essence of an event driven OS unless you "plug it in" into windows message loop of course.

Is't the timer (CTimer) already in this OS loop since it is a "windows" resource ?



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 
AnswerRe: Modifying consoles display Pin
jeron14-Sep-07 8:26
jeron14-Sep-07 8:26 
QuestionLink error in VC++ 8 Pin
shpid3r4-Sep-07 7:35
shpid3r4-Sep-07 7:35 
AnswerRe: Link error in VC++ 8 Pin
Peter Weyzen4-Sep-07 10:21
Peter Weyzen4-Sep-07 10:21 
AnswerRe: Link error in VC++ 8 Pin
shpid3r14-Sep-07 7:37
shpid3r14-Sep-07 7:37 
QuestionHow to add virtual ip in the windows xp to using c++? Pin
songjacky4-Sep-07 5:37
songjacky4-Sep-07 5:37 
Questionfailed to identify Windows script name Pin
Jack Rong4-Sep-07 4:34
Jack Rong4-Sep-07 4:34 
QuestionMACRO for pulling source/function name for display Pin
Like2Byte4-Sep-07 4:17
Like2Byte4-Sep-07 4:17 

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.