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)
268
if (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)
2420
if (captured && PInvoke.
WindowFromPoint
(PointToScreen(point)) == HWND)
2460
if (Capture && PInvoke.
WindowFromPoint
(PointToScreen((Point)m.LParamInternal)) == HWND)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1483
if (!ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
694
if (PInvoke.
WindowFromPoint
(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
234
if (!_parent.ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
66
if (!_parent.ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1036
HWND hwndControl = PInvoke.
WindowFromPoint
(screenCoords);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
690
HWND hwnd = PInvoke.
WindowFromPoint
(p);