Click to See Complete Forum and Search --> : RegisterHotKey problem


zdland
March 26th, 2004, 02:15 PM
I've written a win32 service that requires to do certain things as soon as the user presses a specified key combination. Although RegisterHotKey works well, I found out that when the Winlogon desktop is the active desktop I can no longer receive any WM_HOTKEY messages. Even if I've placed the hotkey message handling window on the Winlogon desktop. Any ideas?:confused:

MrViggy
March 26th, 2004, 05:15 PM
I don't have an answer, but if you're reffering to the "Press CTRL-ALT-DEL to log on" window, then this makes sence. WinNT, 2k, and XP have code in place to prevent virii from intercepting keypresses when someone logs on. That would be my guess...

Viggy