11 references to IsChild
System.Windows.Forms (8)
System\Windows\Forms\ActiveX\AxHost.cs (1)
957
uiDeactivate = !PInvoke.
IsChild
(this, _hwndFocus);
System\Windows\Forms\Control.cs (1)
1286
return !focusHwnd.IsNull && (focusHwnd == Handle || PInvoke.
IsChild
(this, focusHwnd));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3091
if (PInvoke.
IsChild
(PInvokeCore.GetForegroundWindow(), this))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4430
if ((Handle != otherHwnd) && !PInvoke.
IsChild
(this, otherHwnd))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
37
if (!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)
1105
return !hwndFocus.IsNull && PInvoke.
IsChild
(this, hwndFocus);
System\Windows\Forms\UserControl.cs (1)
254
return 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)
13
BOOL result =
IsChild
(hWndParent.Handle, hWnd.Handle);