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)
2609if (PInvoke.GetKeyState((int)Keys.ShiftKey) < 0) 2614if (PInvoke.GetKeyState((int)Keys.ControlKey) < 0) 2619if (PInvoke.GetKeyState((int)Keys.Menu) < 0) 2638if (PInvoke.GetKeyState((int)Keys.LButton) < 0) 2643if (PInvoke.GetKeyState((int)Keys.RButton) < 0) 2648if (PInvoke.GetKeyState((int)Keys.MButton) < 0) 2653if (PInvoke.GetKeyState((int)Keys.XButton1) < 0) 2658if (PInvoke.GetKeyState((int)Keys.XButton2) < 0) 6302int result = PInvoke.GetKeyState((int)keyVal);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
386if (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)
2159_ctrlSelect = PInvoke.GetKeyState((int)Keys.ControlKey) != 0;