How to trap Alt+Tab & Ctrl+Esc keypress
Posted on 1997-11-06
I'm writing a Vision Software where I don't want the user to accidentally press the system keys (ie: alt+tab &
ctrl+esc). How do I go about trapping these messages?
I'm writing my software in Microsoft's Visual C++ 5.0 targeted for Window's NT platform. I tried to enter the above keypresses in the accelerator table and use the TranslateAccelerator API but somehow, these keypress messages never get trapped.