7 references to GetCapture
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (2)
1149get => IsHandleCreated && PInvoke.GetCapture() == HWND; 1590if ((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)
302if ((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)
5709HWND captureHwnd = PInvoke.GetCapture();
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
453if ((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)
144HWND hWndCapture = PInvoke.GetCapture();
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ControlTestBase.cs (1)
108Assert.Equal(HWND.Null, PInvoke.GetCapture());