KeyModifiers
- Updated2025-07-21
- 1 minute(s) read
KeyModifiers
These constants specify the state of the <Shift>, <Ctrl>, and <Alt> keys for the KeyDown , KeyUp , MouseDown , MouseUp , and MouseMove events.
- KeyModifier_Alt –(Value: 0x4) The <Alt> key is pressed.
- KeyModifier_Control –(Value: 0x2) The <Ctrl> key is pressed.
- KeyModifier_None –(Value: 0x0) The <Shift>, <Ctrl>, and <Alt> keys are not pressed.
- KeyModifier_Shift –(Value: 0x1) The <Shift> key is pressed.