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)
240
if (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)
2422
if (captured && PInvoke.
WindowFromPoint
(PointToScreen(point)) == HWND)
2462
if (Capture && PInvoke.
WindowFromPoint
(PointToScreen((Point)m.LParamInternal)) == HWND)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1906
if (!ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(mevent.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
783
if (PInvoke.
WindowFromPoint
(PointToScreen(mevent.Location)) == HWND && !ValidationCancelled)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
269
if (!_parent.ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
79
if (!_parent.ValidationCancelled && PInvoke.
WindowFromPoint
(PointToScreen(e.Location)) == HWND)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1040
HWND hwndControl = PInvoke.
WindowFromPoint
(screenCoords);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\CommandSet.cs (1)
684
HWND hwnd = PInvoke.
WindowFromPoint
(p);