Any way to set the Left CTRL key up as a hotkey? I know the CTRL key is maybe a special key but it still has a scancode, so shouldn't it work?
Basically my app needs to know when CTRL is being pressed so that a user can pick multiple things at once from a custom picker gadget - pretty standard in Windows apps.
Well I use a standard $101 check but this fails when a button or something is activated.
So I change focus back to the main Window when a button is pressed and that is a sort of solution but is 1) Clunky and dumb, 2) looses the button activated feature in Windows and so my app looks and behaves less like the user will expect.
So I use a hotkey event and find you can't seem to assign CTRL. Even tried things like Hotkeyevent 29,2, etc but no luck.
Any ideas? Thanks a lot.
Basically my app needs to know when CTRL is being pressed so that a user can pick multiple things at once from a custom picker gadget - pretty standard in Windows apps.
Well I use a standard $101 check but this fails when a button or something is activated.
So I change focus back to the main Window when a button is pressed and that is a sort of solution but is 1) Clunky and dumb, 2) looses the button activated feature in Windows and so my app looks and behaves less like the user will expect.
So I use a hotkey event and find you can't seem to assign CTRL. Even tried things like Hotkeyevent 29,2, etc but no luck.
Any ideas? Thanks a lot.