Location My.Computer.Keyboard.CtrlKeyDown Syntax Dim result As Boolean = My.Computer.Keyboard.CtrlKeyDown Description The CtrlKeyDown property indicates the current state of the Control key, whether down (TRue) or up (False). Usage at a Glance This property is read-only. This property is only valid in non-server applications. For systems with two Control keys, this setting indicates whether either Control key is pressed. To examine the state of a specific Control key during a control event, perform a bitwise comparison of the control's ModifierKeys property with the Keys.LControlKey or Keys.RControlKey enumeration value. Related Framework Entries Microsoft.VisualBasic.Devices.Keyboard.CtrlKeyDown Property System.Windows.Forms.Control.ModifierKeys Property System.Windows.Forms.Keys Enumeration See Also AltKeyDown Property, Keyboard Object, ShiftKeyDown Property |