devxlogo

Key combinations

Key combinations

Question:
I’m developing an application for NT 4.0, and I don’t want that a fell key combinations works. So the question is, where can I disable functions such as Alt+Tab and Ctrl+Shift+Esc?

Answer:
Well, the bad news. First, there is one key combination you can’t trap: Ctrl+Alt+Del. Second, it’s not as simple as changing a registry setting.

But, if you are working in VB 4.0/32, 5.0, or 6.0, you can purchase a tool like SpyWorks by Desaware Software and do what you want fairly trivially. In fact, there is a sample program to do exactly that. If you are working in C++, you will need to use SetWindowsHookEx.

devx-admin

Share the Post: