16 references to GetKeyState
System.Windows.Forms (15)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
1910
if (PInvoke.
GetKeyState
((int)VIRTUAL_KEY.VK_SHIFT) < 0)
1915
if (PInvoke.
GetKeyState
((int)VIRTUAL_KEY.VK_CONTROL) < 0)
1920
if (PInvoke.
GetKeyState
((int)VIRTUAL_KEY.VK_MENU) < 0)
System\Windows\Forms\Control.cs (9)
2609
if (PInvoke.
GetKeyState
((int)Keys.ShiftKey) < 0)
2614
if (PInvoke.
GetKeyState
((int)Keys.ControlKey) < 0)
2619
if (PInvoke.
GetKeyState
((int)Keys.Menu) < 0)
2638
if (PInvoke.
GetKeyState
((int)Keys.LButton) < 0)
2643
if (PInvoke.
GetKeyState
((int)Keys.RButton) < 0)
2648
if (PInvoke.
GetKeyState
((int)Keys.MButton) < 0)
2653
if (PInvoke.
GetKeyState
((int)Keys.XButton1) < 0)
2658
if (PInvoke.
GetKeyState
((int)Keys.XButton2) < 0)
6302
int result = PInvoke.
GetKeyState
((int)keyVal);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
386
if (PInvoke.
GetKeyState
((int)Keys.Tab) >= 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2474
if (PInvoke.
GetKeyState
((int)Keys.LButton) < 0)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
921
if (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;