Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows exit trigger
#3
Dear Gintaras,

Thanks. I used a toolbar hooked to a procedure which it receives a WM_QUERYENDSESSION message :

Function Test_TWT_Proc
Code:
Copy      Help
,case WM_QUERYENDSESSION
,out "Got it"

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)