Click here to Skip to main content
       

Managed C++/CLI

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionWindows Shutdown notification in a MFC Dialog appmembersunilkpv13 Sep '12 - 0:20 
Hi,
 
I need a notification mechanism for windows shutting down prefferably wthout polling.
 
Any ideas?
Thanks in advance.
Sunil

AnswerRe: Windows Shutdown notification in a MFC Dialog appmvpRichard MacCutchan13 Sep '12 - 0:27 
WM_QUERYENDSESSION[^] may be the message you need to check.
One of these days I'm going to think of a really clever signature.

GeneralRe: Windows Shutdown notification in a MFC Dialog appmemberRajesh R Subramanian20 Sep '12 - 3:36 
Some dimwit had downvoted you for giving a valid answer.
"Real men drive manual transmission" - Rajesh.

GeneralRe: Windows Shutdown notification in a MFC Dialog appmvpRichard MacCutchan20 Sep '12 - 3:56 
Rajesh R Subramanian wrote:
Some dimwit
Extremely dim, I think. Thanks, your 40 points take me soaring to the sky again. Laugh | :laugh:
One of these days I'm going to think of a really clever signature.

GeneralRe: Windows Shutdown notification in a MFC Dialog appmemberWes Aday20 Sep '12 - 5:53 
And another counter.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012

GeneralRe: Windows Shutdown notification in a MFC Dialog appmvpRichard MacCutchan20 Sep '12 - 6:09 
Thanks, maybe my stalker is back from holiday, or jail.
One of these days I'm going to think of a really clever signature.

GeneralRe: Windows Shutdown notification in a MFC Dialog appmembersunilkpv20 Sep '12 - 4:58 
Smile | :)
Sunil

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid