Hello, this is my first answer here, I hope it helps :-)
This code disable ALT+TAB and CTRL+ALT+DEL:
program disable;
uses
WinProcs;
var
Dummy : integer;
begin
Dummy := 0;
{Disable ALT-TAB}
SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @Dummy, 0);
{Disable CTRL-ALT-DEL}...
I want to detect WM_ENDSESSION and do an action before Windows Shutdown (to prevent errors), but I don't want to use Forms. Do you have an idea or an example code???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.