ControlKeyStates Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the states of Control Key.
This enumeration supports a bitwise combination of its member values.
public enum class ControlKeyStates
[System.Flags]
public enum ControlKeyStates
[<System.Flags>]
type ControlKeyStates =
Public Enum ControlKeyStates
- Inheritance
-
ControlKeyStates
- Attributes
Fields
Name | Value | Description |
---|---|---|
RightAltPressed | 1 | The right alt key is pressed. |
LeftAltPressed | 2 | The left alt key is pressed. |
RightCtrlPressed | 4 | The right ctrl key is pressed. |
LeftCtrlPressed | 8 | The left ctrl key is pressed. |
ShiftPressed | 16 | The shift key is pressed. |
NumLockOn | 32 | The numlock light is on. |
ScrollLockOn | 64 | The scrolllock light is on. |
CapsLockOn | 128 | The capslock light is on. |
EnhancedKey | 256 | The key is enhanced. |