Handling WM_QUERYENDSESSION message.
-
Hi, The test case 30(“Verify the application is Restart Manager Aware”) for Certified for Vista tells "The application should shut down quietly via the RMShutdown API". It's means I've to handle WM_QUERYENDSESSION in my application and respond TRUE back to OS. The application should be in on idle. My application is MFC MDI application. - The question is : where(CMainFrame or in MyApp::OnIdle()) and how(I've to return TRUE back) should I handle this. Thanks for the any sutable information.
-
Hi, The test case 30(“Verify the application is Restart Manager Aware”) for Certified for Vista tells "The application should shut down quietly via the RMShutdown API". It's means I've to handle WM_QUERYENDSESSION in my application and respond TRUE back to OS. The application should be in on idle. My application is MFC MDI application. - The question is : where(CMainFrame or in MyApp::OnIdle()) and how(I've to return TRUE back) should I handle this. Thanks for the any sutable information.
oleg63 wrote:
It's means I've to handle WM_QUERYENDSESSION in my application and respond TRUE back to OS.
TRUE
is the default return value. Unless your application needs to returnFALSE
, you don't need to do anything.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb