[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Windows shutting down

What is the procedure not to allow
the windows to SHUT DOWN?
0
balasundaram
Asked:
balasundaram
1 Solution
 
MichaelSCommented:
ExitWindows() and ExitWindowsEx()
0
 
ZoppoCommented:
Hi balasundaram,

Add a WM_QUERYENDSESSION message handler to your main windows and in there return zero...

hope that helps,

ZOPPO
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now