Windows Shutdown notification in a MFC Dialog app
-
Hi, I need a notification mechanism for windows shutting down prefferably wthout polling. Any ideas? Thanks in advance.
Sunil
-
WM_QUERYENDSESSION
[^] may be the message you need to check.One of these days I'm going to think of a really clever signature.
Some dimwit had downvoted you for giving a valid answer.
"Real men drive manual transmission" - Rajesh.
-
Some dimwit had downvoted you for giving a valid answer.
"Real men drive manual transmission" - Rajesh.
-
Some dimwit had downvoted you for giving a valid answer.
"Real men drive manual transmission" - Rajesh.
-
Rajesh R Subramanian wrote:
Some dimwit
Extremely dim, I think. Thanks, your 40 points take me soaring to the sky again. :laugh:
One of these days I'm going to think of a really clever signature.
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
-
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