Click here to Skip to main content
15,913,090 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding/appending text to a window Pin
David Crow19-Jan-05 5:48
David Crow19-Jan-05 5:48 
GeneralRe: Adding/appending text to a window Pin
hugPW19-Jan-05 7:37
hugPW19-Jan-05 7:37 
QuestionHow can a hook_dll call the server application? Pin
Anonymous19-Jan-05 4:12
Anonymous19-Jan-05 4:12 
QuestionOnCtlColor Memory eater??? Pin
Cpt Rick19-Jan-05 3:26
Cpt Rick19-Jan-05 3:26 
AnswerRe: OnCtlColor Memory eater??? Pin
prcarp19-Jan-05 3:50
prcarp19-Jan-05 3:50 
AnswerRe: OnCtlColor Memory eater??? Pin
Roger Allen19-Jan-05 4:02
Roger Allen19-Jan-05 4:02 
GeneralRe: OnCtlColor Memory eater??? Pin
Cpt Rick19-Jan-05 6:18
Cpt Rick19-Jan-05 6:18 
GeneralCapturing logoff event in windows Pin
e_prabhu19-Jan-05 3:01
e_prabhu19-Jan-05 3:01 
Advanced thanks for the suggestion that you are going to give me Smile | :)

I am running a service that has the functionality of tracking the user log-off. Currently in the service i have a window that captures the WM_ENDSESSION message from windows O/S and i am logging it as a user "log-off event" ,this works fine as long as no activity is done to stop the logoff .In the case when logoff proceeds and an open document is prompted to be saved and the user cancels it, the logoff is also cancelled. In such a situation, according to my current logic, the "Log-off" event is logged which is improper.

Can you please help me with a suggestion for capturing the user log-off event only when the user actually logs off.
GeneralRe: Capturing logoff event in windows Pin
David Crow19-Jan-05 3:08
David Crow19-Jan-05 3:08 
GeneralStrange problem with CDaoRecordset Pin
Manfred Staiger19-Jan-05 2:54
Manfred Staiger19-Jan-05 2:54 
GeneralRe: Strange problem with CDaoRecordset Pin
S Douglas19-Jan-05 4:07
professionalS Douglas19-Jan-05 4:07 
GeneralRe: Strange problem with CDaoRecordset Pin
Manfred Staiger19-Jan-05 4:40
Manfred Staiger19-Jan-05 4:40 
GeneralRe: Strange problem with CDaoRecordset Pin
S Douglas19-Jan-05 5:01
professionalS Douglas19-Jan-05 5:01 
GeneralRe: Strange problem with CDaoRecordset Pin
Manfred Staiger19-Jan-05 5:37
Manfred Staiger19-Jan-05 5:37 
GeneralRe: Strange problem with CDaoRecordset Pin
S Douglas19-Jan-05 19:00
professionalS Douglas19-Jan-05 19:00 
Generalsize from the childframe border Pin
neosun19-Jan-05 1:59
neosun19-Jan-05 1:59 
GeneralRe: size from the childframe border Pin
Antony M Kancidrowski19-Jan-05 3:39
Antony M Kancidrowski19-Jan-05 3:39 
GeneralRe: size from the childframe border Pin
Roger Allen19-Jan-05 4:04
Roger Allen19-Jan-05 4:04 
QuestionSetup HyperTerminal ?? Pin
Kabashiro19-Jan-05 1:26
Kabashiro19-Jan-05 1:26 
AnswerRe: Setup HyperTerminal ?? Pin
Antony M Kancidrowski19-Jan-05 3:43
Antony M Kancidrowski19-Jan-05 3:43 
GeneralMy bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 1:19
Emilio Garavaglia19-Jan-05 1:19 
GeneralRe: My bug or C++ bug Pin
Antony M Kancidrowski19-Jan-05 3:53
Antony M Kancidrowski19-Jan-05 3:53 
GeneralRe: My bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 4:22
Emilio Garavaglia19-Jan-05 4:22 
GeneralRe: My bug or C++ bug Pin
John R. Shaw19-Jan-05 9:39
John R. Shaw19-Jan-05 9:39 
GeneralRe: My bug or C++ bug Pin
Emilio Garavaglia19-Jan-05 20:59
Emilio Garavaglia19-Jan-05 20:59 

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.