I’ve been trying to get the current state of the modifier keys (CTRL/SHIFT/ALT) but the ModifierKeys property always returns None even though there is a modifier key pressed. Is there a special way to access the property values?
Works for single modifiers. It reverts to None when there are more than 1 pressed. Logged the bug as WJ-8846.
To read the modifiers you need to handle at least one keyboard event. While processing the event you can either use the event args or the global Control.ModifierKeys property.
Please login first to submit.