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

C / C++ / MFC

 
GeneralRe: Creating un-fragmented files Pin
John M. Drescher23-Jul-03 9:16
John M. Drescher23-Jul-03 9:16 
GeneralRe: Creating un-fragmented files Pin
Bob Stanneveld23-Jul-03 12:38
Bob Stanneveld23-Jul-03 12:38 
GeneralRe: Creating un-fragmented files Pin
Ryan Binns23-Jul-03 16:06
Ryan Binns23-Jul-03 16:06 
GeneralRe: Creating un-fragmented files Pin
Anders Molin23-Jul-03 13:41
professionalAnders Molin23-Jul-03 13:41 
GeneralRe: Creating un-fragmented files Pin
FlyingDancer23-Jul-03 15:04
FlyingDancer23-Jul-03 15:04 
GeneralRe: Creating un-fragmented files Pin
Ryan Binns23-Jul-03 16:05
Ryan Binns23-Jul-03 16:05 
GeneralRe: Creating un-fragmented files Pin
od@ananzi.co.za23-Jul-03 21:03
od@ananzi.co.za23-Jul-03 21:03 
GeneralAuto application logout Pin
Andrew Allen23-Jul-03 8:54
Andrew Allen23-Jul-03 8:54 
I've got an MFC based database application (built with VS.NET 2002) with a login feature. I want to detect if the user hasn't interacted with the app for a certain timeout period. When I detect this "event", I want to either exit the application, OR lock-out the user and force them to type in a password again.

I can handle the code for a timer handler to check flags, and do the exit or login.

But how to detect keypresses/mouse movement? I want to avoid rewrites to each of my dialogs and main app. Is there a way to hook into the app's message queue and detect keypresses and mouse activity for all child windows? Or any other simple way?

TIA,
Andrew
GeneralRe: Auto application logout Pin
John M. Drescher23-Jul-03 9:21
John M. Drescher23-Jul-03 9:21 
GeneralRe: Auto application logout Pin
Ryan Binns23-Jul-03 18:55
Ryan Binns23-Jul-03 18:55 
GeneralRe: Auto application logout Pin
John M. Drescher23-Jul-03 19:14
John M. Drescher23-Jul-03 19:14 
Generalqualifying enums ... Pin
Maximilien23-Jul-03 8:32
Maximilien23-Jul-03 8:32 
GeneralRe: qualifying enums ... Pin
Nathan Blomquist23-Jul-03 8:43
Nathan Blomquist23-Jul-03 8:43 
GeneralRe: qualifying enums ... Pin
QuiJohn23-Jul-03 8:55
QuiJohn23-Jul-03 8:55 
GeneralRe: qualifying enums ... Pin
John M. Drescher23-Jul-03 9:12
John M. Drescher23-Jul-03 9:12 
GeneralRe: qualifying enums ... Pin
QuiJohn23-Jul-03 9:20
QuiJohn23-Jul-03 9:20 
GeneralRe: qualifying enums ... Pin
Maximilien23-Jul-03 9:13
Maximilien23-Jul-03 9:13 
GeneralRe: qualifying enums ... Pin
Tom Archer23-Jul-03 9:49
Tom Archer23-Jul-03 9:49 
GeneralRe: qualifying enums ... Pin
Nathan Blomquist24-Jul-03 1:52
Nathan Blomquist24-Jul-03 1:52 
GeneralRe: qualifying enums ... Pin
Tom Archer24-Jul-03 2:08
Tom Archer24-Jul-03 2:08 
GeneralRe: qualifying enums ... Pin
User 665823-Jul-03 9:17
User 665823-Jul-03 9:17 
Generaldisplaying images Pin
Cyberizen23-Jul-03 7:55
Cyberizen23-Jul-03 7:55 
GeneralRe: displaying images Pin
John M. Drescher23-Jul-03 9:13
John M. Drescher23-Jul-03 9:13 
GeneralRe: displaying images Pin
Alexander M.,23-Jul-03 9:13
Alexander M.,23-Jul-03 9:13 
GeneralDialogBar to View communication question Pin
hiseldl23-Jul-03 7:38
hiseldl23-Jul-03 7:38 

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.