Registriert seit: 13. Jul 2010
25 Beiträge
Delphi 2 Desktop
|
AW: Anti End Task, not WM_Close?
1. Jan 2011, 21:43
Can't be right. You don't set CanClose to true in any case. It has to be
Delphi-Quellcode:
if (GetSystemMetrics (SM_SHUTTINGDOWN) <> 0) then
CanClose := true;
Bernhard
Still not working. I also change the value of SM_SHUTTINGDOWN to 2000 (referenced from MSDN). I am using 7 32 bit.
|