Click here to Skip to main content
15,113,692 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting breakpoints in source code in manual compile Pin
Albert Holguin6-Mar-16 9:48
professionalAlbert Holguin6-Mar-16 9:48 
GeneralRe: Setting breakpoints in source code in manual compile Pin
jschell31-Mar-16 10:02
Memberjschell31-Mar-16 10:02 
QuestionVS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
charlieg2-Feb-16 9:30
Membercharlieg2-Feb-16 9:30 
AnswerRe: VS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
Jochen Arndt2-Feb-16 22:24
professionalJochen Arndt2-Feb-16 22:24 
GeneralRe: VS2008 Total bitching weirdness - ever seen a message about the compiler driver? Pin
charlieg3-Feb-16 6:18
Membercharlieg3-Feb-16 6:18 
QuestionCreating a CListbox manually ends up with corrupted HWND. [FIXED] Pin
Maximilien1-Feb-16 4:49
MemberMaximilien1-Feb-16 4:49 
AnswerRe: Creating a CListbox manually ends up with corrupted HWND. Pin
Bram van Kampen1-Feb-16 15:55
MemberBram van Kampen1-Feb-16 15:55 
QuestionCatching User Activity Pin
Bram van Kampen30-Jan-16 16:10
MemberBram van Kampen30-Jan-16 16:10 
Hi,

Writing a Dialog Based MFC Program, where staff logs in with name and password. I want to implement automatic logging out, after a period of inactivity. (Mouse Moves or Clicks, Keyboard Activity)
I can handle the Internals of how to implement the Cascade Down upon Time_out
I need to monitor 'Activity' I reckon that the best place to do this in SDK is in the App Main Wnd Procedure, by kicking a Timer on WM_MOUSE_MOVE, WM_KEY_UP, etc Messages.

How do I handle this in MFC. Can I use an old fashioned WndProc() or is there no other way but using the MessageMap, with handlers for each message.

Regards,

Bram.
Bram van Kampen

SuggestionRe: Catching User Activity Pin
Richard MacCutchan30-Jan-16 22:18
mveRichard MacCutchan30-Jan-16 22:18 
GeneralRe: Catching User Activity Pin
Bram van Kampen31-Jan-16 13:21
MemberBram van Kampen31-Jan-16 13:21 
GeneralRe: Catching User Activity Pin
Richard MacCutchan31-Jan-16 22:22
mveRichard MacCutchan31-Jan-16 22:22 
GeneralRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 17:14
MemberBram van Kampen1-Feb-16 17:14 
GeneralRe: Catching User Activity Pin
Richard MacCutchan1-Feb-16 22:46
mveRichard MacCutchan1-Feb-16 22:46 
AnswerRe: Catching User Activity Pin
Jochen Arndt30-Jan-16 23:03
professionalJochen Arndt30-Jan-16 23:03 
GeneralRe: Catching User Activity Pin
Bram van Kampen31-Jan-16 13:44
MemberBram van Kampen31-Jan-16 13:44 
GeneralRe: Catching User Activity Pin
Jochen Arndt31-Jan-16 23:42
professionalJochen Arndt31-Jan-16 23:42 
PraiseRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 16:28
MemberBram van Kampen1-Feb-16 16:28 
SuggestionRe: Catching User Activity Pin
David Crow31-Jan-16 16:48
MemberDavid Crow31-Jan-16 16:48 
GeneralRe: Catching User Activity Pin
Bram van Kampen1-Feb-16 16:18
MemberBram van Kampen1-Feb-16 16:18 
QuestionDid some one use Eigen or Armadillo library to do calculation? Pin
smallkubi28-Jan-16 23:31
Membersmallkubi28-Jan-16 23:31 
AnswerRe: Did some one use Eigen or Armadillo library to do calculation? Pin
Jochen Arndt29-Jan-16 0:18
professionalJochen Arndt29-Jan-16 0:18 
GeneralRe: Did some one use Eigen or Armadillo library to do calculation? Pin
smallkubi29-Jan-16 2:43
Membersmallkubi29-Jan-16 2:43 
GeneralRe: Did some one use Eigen or Armadillo library to do calculation? Pin
Jochen Arndt29-Jan-16 3:00
professionalJochen Arndt29-Jan-16 3:00 
QuestionXML Image Changes im MFC Ribbon Pin
rajmohan 12328-Jan-16 21:57
Memberrajmohan 12328-Jan-16 21:57 
Questionhow to save print view to pdf? Pin
Le@rner27-Jan-16 23:29
MemberLe@rner27-Jan-16 23:29 

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.