11 references to IsChild
System.Windows.Forms (8)
System\Windows\Forms\ActiveX\AxHost.cs (1)
957uiDeactivate = !PInvoke.IsChild(this, _hwndFocus);
System\Windows\Forms\Control.cs (1)
1286return !focusHwnd.IsNull && (focusHwnd == Handle || PInvoke.IsChild(this, focusHwnd));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3091if (PInvoke.IsChild(PInvokeCore.GetForegroundWindow(), this))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4430if ((Handle != otherHwnd) && !PInvoke.IsChild(this, otherHwnd))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
37if (!PInvoke.IsChild(_ownerToolStrip, m.HWND))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
497=> hwndParent.Handle == hwndChild.Handle || PInvoke.IsChild(hwndParent, hwndChild);
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1105return !hwndFocus.IsNull && PInvoke.IsChild(this, hwndFocus);
System\Windows\Forms\UserControl.cs (1)
254return HWND == hwndFocus || PInvoke.IsChild(this, hwndFocus);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
163|| (hwnd != adornerWindow.DesignerFrame.Handle && PInvoke.IsChild(adornerWindow.DesignerFrame, hwnd)))
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
325&& !PInvoke.IsChild(_toolStripContainer, associatedControl))
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.IsChild.cs (1)
13BOOL result = IsChild(hWndParent.Handle, hWnd.Handle);