12 references to WindowFromPoint
System.Windows.Forms (11)
System\Windows\Forms\Control.cs (1)
11688&& PInvoke.WindowFromPoint(screenLocation) == HWND;
System\Windows\Forms\Controls\Buttons\Button.cs (1)
268if (PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
509&& PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
487&& PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
2420if (captured && PInvoke.WindowFromPoint(PointToScreen(point)) == HWND) 2460if (Capture && PInvoke.WindowFromPoint(PointToScreen((Point)m.LParamInternal)) == HWND)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1483if (!ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
694if (PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
234if (!_parent.ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
66if (!_parent.ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1036HWND hwndControl = PInvoke.WindowFromPoint(screenCoords);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
690HWND hwnd = PInvoke.WindowFromPoint(p);