09-14-2010, 07:32 PM
Dear Gintaras,
Thanks. I used a toolbar hooked to a procedure which it receives a WM_QUERYENDSESSION message :
Function Test_TWT_Proc
It works. However, I am not sure whether I should add a command in the form "ret 0" to prevent windows from shutting down. I tried it, but it failed. I would appreciate any further advice.
Regards
Simos
Thanks. I used a toolbar hooked to a procedure which it receives a WM_QUERYENDSESSION message :
Function Test_TWT_Proc
It works. However, I am not sure whether I should add a command in the form "ret 0" to prevent windows from shutting down. I tried it, but it failed. I would appreciate any further advice.
Regards
Simos