16 references to GetKeyState
System.Windows.Forms (15)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
1910if (PInvoke.GetKeyState((int)VIRTUAL_KEY.VK_SHIFT) < 0) 1915if (PInvoke.GetKeyState((int)VIRTUAL_KEY.VK_CONTROL) < 0) 1920if (PInvoke.GetKeyState((int)VIRTUAL_KEY.VK_MENU) < 0)
System\Windows\Forms\Control.cs (9)
2790if (PInvoke.GetKeyState((int)Keys.ShiftKey) < 0) 2795if (PInvoke.GetKeyState((int)Keys.ControlKey) < 0) 2800if (PInvoke.GetKeyState((int)Keys.Menu) < 0) 2819if (PInvoke.GetKeyState((int)Keys.LButton) < 0) 2824if (PInvoke.GetKeyState((int)Keys.RButton) < 0) 2829if (PInvoke.GetKeyState((int)Keys.MButton) < 0) 2834if (PInvoke.GetKeyState((int)Keys.XButton1) < 0) 2839if (PInvoke.GetKeyState((int)Keys.XButton2) < 0) 6530int result = PInvoke.GetKeyState((int)keyVal);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
478if (PInvoke.GetKeyState((int)Keys.Tab) >= 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2474if (PInvoke.GetKeyState((int)Keys.LButton) < 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
921if (PInvoke.GetKeyState((int)Keys.ShiftKey) < 0 && (keyData == Keys.None))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
2147_ctrlSelect = PInvoke.GetKeyState((int)Keys.ControlKey) != 0;