15 references to GA_ROOT
System.Windows.Forms (15)
System\Windows\Forms\Application.ThreadContext.cs (1)
972
HWND hwndRoot = PInvoke.GetAncestor(msg.hwnd, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Control.Ime.cs (1)
278
focusHandle = PInvoke.GetAncestor(focusHandle, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
240
HWND ancestor = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
163
HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.
GA_ROOT
);
569
HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
4434
HWND thisHwndRoot = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.
GA_ROOT
);
4435
HWND otherHwndRoot = PInvoke.GetAncestor(otherHwnd, GET_ANCESTOR_FLAGS.
GA_ROOT
);
4613
HWND rootHwnd = PInvoke.GetAncestor(this, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
39
HWND rootHwnd = PInvoke.GetAncestor(_ownerToolStrip, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (5)
261
=> PInvoke.GetAncestor(control1, GET_ANCESTOR_FLAGS.
GA_ROOT
) == PInvoke.GetAncestor(control2, GET_ANCESTOR_FLAGS.
GA_ROOT
);
831
HWND rootWindowOfToolStrip = PInvoke.GetAncestor(topMostToolStrip, GET_ANCESTOR_FLAGS.
GA_ROOT
);
832
HWND rootWindowOfControl = PInvoke.GetAncestor(activeControl, GET_ANCESTOR_FLAGS.
GA_ROOT
);
932
HWND topmostParentOfMenu = PInvoke.GetAncestor(menuStripToActivate, GET_ANCESTOR_FLAGS.
GA_ROOT
);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
309
HWND rootHwnd = PInvoke.GetAncestor(control, GET_ANCESTOR_FLAGS.
GA_ROOT
);