how to control windows shutdown?
-
hiho@ll i just wanted to know if it's possible to "hook" the windows shutdown and if yes how? i thought about a simple alarm prog, which does something if you want to shutdown windows for example it checks if you did some task before shutdown or it simply reminds you to do something before shuting down anybody has an idea? thx@ll
-
hiho@ll i just wanted to know if it's possible to "hook" the windows shutdown and if yes how? i thought about a simple alarm prog, which does something if you want to shutdown windows for example it checks if you did some task before shutdown or it simply reminds you to do something before shuting down anybody has an idea? thx@ll
ThinkingPrometheus wrote: i thought about a simple alarm prog, which does something if you want to shutdown windows HANDLE WM_QUERYENDSESSION message !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
ThinkingPrometheus wrote: i thought about a simple alarm prog, which does something if you want to shutdown windows HANDLE WM_QUERYENDSESSION message !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
maybe i'm wrong but if i handle such an event, windows will try to kill the application if it doesn't exit!? so is it possible to abort the shutdown if i use WM_QUERYENDSESSION?
-
maybe i'm wrong but if i handle such an event, windows will try to kill the application if it doesn't exit!? so is it possible to abort the shutdown if i use WM_QUERYENDSESSION?
ThinkingPrometheus wrote: so is it possible to abort the shutdown if i use WM_QUERYENDSESSION? Yeap it possible, you just return the FALSE o this event and then you have to shutdown by your self!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV