Can any one tell me how can i my application check is TerminateProcess
message is being send to it if so how can i display messagebox before
quitting???

Thankx in advance.

**************************

How can i use WH_MOUSE to know whether the user has moved the mouse to some other position??
Posted on 2003-04-24 09:50:11 by telophase
telophase,

>Can any one tell me how can i my application check is TerminateProcess
message is being send to it if so how can i display messagebox before
quitting???




.if uMsg==WM_CLOSE
invoke MessageBox,.....



>How can i use WH_MOUSE to know whether the user has moved the mouse to some other position??

Check Iczelion's tutorial #24
Posted on 2003-04-24 10:49:24 by Vortex
Terminateprocess does NOT notify the process it's terminating. Thus, you'd have to hook it to know if your process where being shutdown.

Fake
Posted on 2003-04-24 13:54:01 by Fake51