12 references to WindowFromPoint
System.Windows.Forms (11)
System\Windows\Forms\Control.cs (1)
12418&& PInvoke.WindowFromPoint(screenLocation) == HWND;
System\Windows\Forms\Controls\Buttons\Button.cs (1)
240if (PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
665&& PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
608&& PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
2422if (captured && PInvoke.WindowFromPoint(PointToScreen(point)) == HWND) 2462if (Capture && PInvoke.WindowFromPoint(PointToScreen((Point)m.LParamInternal)) == HWND)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1906if (!ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
783if (PInvoke.WindowFromPoint(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
269if (!_parent.ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
79if (!_parent.ValidationCancelled && PInvoke.WindowFromPoint(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1040HWND hwndControl = PInvoke.WindowFromPoint(screenCoords);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
684HWND hwnd = PInvoke.WindowFromPoint(p);