Hey there

I have a Windows applications written in C++ using Win32 API's.

The problem am facing now is, if the user presses the Alt + F4 key the application will close.

Is there a way of disabling that via the app itself?

Like capturing the windows shortcut key and then do nothing?

Same about Ctl + Alt + Del.

Is it possible to disable that?

How can i capture these key presses in my app?

Thanks in advance.