-
Hi everybody,
I'm trying to detect if the user used Ctrl+c to interrupt lengtly operations like copying and unzipping files. I tried to use the examples from the microsoft knowlegde base. But it simply doesn't work.
I have to detect the keycombination, even if the focus is of the program.
Anyone got any ideas??
Thanks
-
Did you try GetKeyState() API? This will tell if those keys are pressed down. I have no resources at the moment perhaps someone here could offer you an example with the key names.
-
Megatron posted an example of using GetKeyStateAsync() somewhere...but check out VK_CONTROL or similar.