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)
2790
if (PInvoke.
GetKeyState
((int)Keys.ShiftKey) < 0)
2795
if (PInvoke.
GetKeyState
((int)Keys.ControlKey) < 0)
2800
if (PInvoke.
GetKeyState
((int)Keys.Menu) < 0)
2819
if (PInvoke.
GetKeyState
((int)Keys.LButton) < 0)
2824
if (PInvoke.
GetKeyState
((int)Keys.RButton) < 0)
2829
if (PInvoke.
GetKeyState
((int)Keys.MButton) < 0)
2834
if (PInvoke.
GetKeyState
((int)Keys.XButton1) < 0)
2839
if (PInvoke.
GetKeyState
((int)Keys.XButton2) < 0)
6530
int result = PInvoke.
GetKeyState
((int)keyVal);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
478
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)
2147
_ctrlSelect = PInvoke.
GetKeyState
((int)Keys.ControlKey) != 0;