Obviously, e.Key cannot be equal to more than one value in the same event.
You need to handle one of the events using KeyEventArgs , there you will find properties such as Control and Modifiers that will help you detect combinations.
A KeyPress event using KeyPressEventArgs simply does not have enough information.
Drat, you said that WPF is not you. Sounds like you need e.KeyboardDevice.Modifiers .
Ben voigt
source share