6 references to GetAncestor
System.Windows.Forms (4)
System\Windows\Forms\Application.ThreadContext.cs (1)
972HWND hwndRoot = PInvoke.GetAncestor(msg.hwnd, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Control.cs (1)
5241hwnd = PInvoke.GetAncestor(hwnd, GET_ANCESTOR_FLAGS.GA_PARENT);
System\Windows\Forms\Control.Ime.cs (1)
278focusHandle = PInvoke.GetAncestor(focusHandle, GET_ANCESTOR_FLAGS.GA_ROOT);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4435HWND otherHwndRoot = PInvoke.GetAncestor(otherHwnd, GET_ANCESTOR_FLAGS.GA_ROOT);
System.Windows.Forms.Primitives (2)
Windows\Win32\PInvoke.GetAncestor.cs (2)
8/// <inheritdoc cref="GetAncestor(HWND, GET_ANCESTOR_FLAGS)"/> 11HWND result = GetAncestor(hwnd.Handle, flags);