7 references to GetCapture
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (2)
1149
get => IsHandleCreated && PInvoke.
GetCapture
() == HWND;
1590
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.
GetCapture
() == HWND)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
302
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.
GetCapture
() == HWND)
System\Windows\Forms\Form.cs (1)
5709
HWND captureHwnd = PInvoke.
GetCapture
();
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
453
if ((r.left <= p.X && p.X < r.right && r.top <= p.Y && p.Y < r.bottom) || PInvoke.
GetCapture
() == HWND)
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
144
HWND hWndCapture = PInvoke.
GetCapture
();
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ControlTestBase.cs (1)
108
Assert.Equal(HWND.Null, PInvoke.
GetCapture
());