Hello, I would like to disable the ALT+F4 key, I'am french so my english is not good, Thanks
Posted on 2001-04-14 08:22:00 by Freddy
if u just want your application not close on ALT+F4,don't process WM_DESTROY in your window/dialog procedure
Posted on 2001-04-14 08:48:00 by Shaolinwu
How I do this?? I doesn't process to the WM_DESTROY message but my program close on alt+f4 Thanks for replying
Posted on 2001-04-14 16:00:00 by Freddy
Just make sure DefWindowProc doesn't process it, something like:

.elseif uMsg==WM_DESTROY
     xor eax,eax
     ret
Posted on 2001-04-15 14:07:00 by Qweerdy