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)
2781if (PInvoke.GetKeyState((int)Keys.ShiftKey) < 0) 2786if (PInvoke.GetKeyState((int)Keys.ControlKey) < 0) 2791if (PInvoke.GetKeyState((int)Keys.Menu) < 0) 2810if (PInvoke.GetKeyState((int)Keys.LButton) < 0) 2815if (PInvoke.GetKeyState((int)Keys.RButton) < 0) 2820if (PInvoke.GetKeyState((int)Keys.MButton) < 0) 2825if (PInvoke.GetKeyState((int)Keys.XButton1) < 0) 2830if (PInvoke.GetKeyState((int)Keys.XButton2) < 0) 6521int result = PInvoke.GetKeyState((int)keyVal);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
457if (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;