troubleshooting Question

Intercepting a WM_ShutDown

Avatar of quantum2
quantum2 asked on
Delphi
7 Comments1 Solution1740 ViewsLast Modified:
I need to know how at the system level I can intercept a WM_Shutdown (Windows Shutdown message) and absorb it so that it doesnt occur.

The application I need to create needs to be able to tie into the system message loop and intercept any shutdown message and based on a registry flag either allow the shutdown or present a dialog that informs the user of the diversion.

Thanks

Q2
ASKER CERTIFIED SOLUTION
maverick65

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros