19 references to GET_ANCESTOR_FLAGS
System.Windows.Forms (16)
System\Windows\Forms\Application.ThreadContext.cs (1)
972
HWND hwndRoot = PInvoke.GetAncestor(msg.hwnd,
GET_ANCESTOR_FLAGS
.GA_ROOT);
System\Windows\Forms\Control.cs (1)
5241
hwnd = PInvoke.GetAncestor(hwnd,
GET_ANCESTOR_FLAGS
.GA_PARENT);
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);
System.Windows.Forms.Primitives (3)
Windows.Win32.PInvoke.USER32.dll.g.cs (1)
1035
internal static extern winmdroot.Foundation.HWND GetAncestor(winmdroot.Foundation.HWND hwnd, winmdroot.UI.WindowsAndMessaging.
GET_ANCESTOR_FLAGS
gaFlags);
Windows\Win32\PInvoke.GetAncestor.cs (2)
8
/// <inheritdoc cref="GetAncestor(HWND,
GET_ANCESTOR_FLAGS
)"/>
9
public static HWND GetAncestor<T>(T hwnd,
GET_ANCESTOR_FLAGS
flags) where T : IHandle<HWND>