This really should be easy, but I can't see any obvious or intuitive solution:
I am catching a MouseDown
event on a control, which gives me a MouseEventArgs
object in the signature. Now I want to be able to tell if the user was holding down the "Shift" or "Control" key when they clicked. But the MouseEventArgs
object doesn't contain any keyboard info!
What's the easiest way of telling whether the keyboard shift/ctrl keys were being held at the time of the click?