Direct Input (DirectX 8.0) does not seem to allow ALT+TAB to be captured in the application (hotkey and global low level hook methods were tested). Allow though, the HotKey or hook does effect all of the other application in the Desktop until the application is ended.
I am facing a serious problem in my project. I want to disable a TAB key I've written a code in PreTranslateMessage
Function. It's Working properly but if the previous key pressed is a Shift Key and after that if a tab key is pressed it dosen't work. So how to disable a tab key.
I want a Shift + Tab key combination in my project ( Data Entry Project ). But I don't want Tab key. Can u please help me out.
I was using the command, SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, (PVOID)1, 0);
to disable alt+esc, alt+tab and ctl+alt+del
However, I also need to get rid of alt+F4 so the user can not close the program.
I tried using the code posted here (altering it for F4 not Tab), but it doesn't seem to work with my SystemParametersInfo code. I can only use one or the other. I am just getting in to visual programming with a mild background in C++. Any hints, suggestions...preferably something that's not too difficult. This is for a school project, and we are told to learn Visual C++ as we go. A task that is easier said than done (at least for me).
Yes, the RegisterHotKey did work for Alt+F4 in a Win 9x environment. It did not however, work for alt+tab.
Instead of the existing process that Windows do when encountered ALT+TAB, I would like to do another process, say invoking a hidden application. How should I implement WM_HOTKEY keyboard event in an MFC application?