sukhoi35
asked on
Log off cancellation notification to applications
Hello Experts,
My application runs on Windows 7 and when the user initiates a Windows Log-Off, I receive the message WM_QUERYENDSESSION through the method 'WindowProc'. At this point, I also get windows 'Force log off' screen as shown in the attached screenshot. When I click on cancel on this screen, is there any way that I can interpret this event in my program. I mean, just the way a log-off sent WM_QUERYENDSESSION, will I be notified with any message saying the log-off process was cancelled.
Regards.
My application runs on Windows 7 and when the user initiates a Windows Log-Off, I receive the message WM_QUERYENDSESSION through the method 'WindowProc'. At this point, I also get windows 'Force log off' screen as shown in the attached screenshot. When I click on cancel on this screen, is there any way that I can interpret this event in my program. I mean, just the way a log-off sent WM_QUERYENDSESSION, will I be notified with any message saying the log-off process was cancelled.
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER