I am developing an application which restricts the user to quit the application in un authorized way.

To do that I need to trap Ctrl+Alt+Del key and Alt + F4 key .

Can any body suggest me a solution for this

I tried using WM_SYSCOMMAND to trap, it is working if the focus is on window, but when the focus is on any control of the window,
I am unable to trap that .

bye

vamshi