11 references to WindowFromPoint
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Button.cs (1)
306
if (UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle && !ValidationCancelled) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
648
if (UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\Control.cs (1)
13510
if (GetState(STATE_MOUSEPRESSED) && !IsDisposed && UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\ListBox.cs (2)
2417
if (captured && UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
2464
if (rCaptured && UnsafeNativeMethods.
WindowFromPoint
(rpt.X, rpt.Y) == Handle) {
winforms\Managed\System\WinForms\RadioButton.cs (1)
574
if (UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1687
if (!ValidationCancelled && UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
winforms\Managed\System\WinForms\ToolTip.cs (1)
1259
IntPtr hwndControl = UnsafeNativeMethods.
WindowFromPoint
(screenCoords.X, screenCoords.Y);
winforms\Managed\System\WinForms\UpDownBase.cs (3)
966
if (UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle && !ValidationCancelled) {
1311
if (!parent.ValidationCancelled && UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {
1657
if (!parent.ValidationCancelled && UnsafeNativeMethods.
WindowFromPoint
(pt.X, pt.Y) == Handle) {