Does anyone know how to detect ALT/CTRl Key
I want to know if Any of these two keys are pressed while I am in the Timer control.
There is know Keydown/up properties availbale!
Printable View
Does anyone know how to detect ALT/CTRl Key
I want to know if Any of these two keys are pressed while I am in the Timer control.
There is know Keydown/up properties availbale!
Try GetKeyboardState and GetAsyncKeyState APIs. But these states are maintained per thread basis. so if another thread/process has keyboard focus then you not get the state correctly
RK