11 references to GetRootHWnd
System.Windows.Forms (11)
winforms\Managed\System\WinForms\MenuStrip.cs (1)
252UnsafeNativeMethods.PostMessage(WindowsFormsUtils.GetRootHWnd(this), NativeMethods.WM_SYSCOMMAND, NativeMethods.SC_KEYMENU, (int)Keys.Space);
winforms\Managed\System\WinForms\StatusStrip.cs (2)
194HandleRef rootHwnd = WindowsFormsUtils.GetRootHWnd(this); 563HandleRef rootHwnd = WindowsFormsUtils.GetRootHWnd(this);
winforms\Managed\System\WinForms\ToolStrip.cs (3)
4539HandleRef thisHwndRoot = WindowsFormsUtils.GetRootHWnd(this); 4731HandleRef rootHwnd = WindowsFormsUtils.GetRootHWnd(this); 5166HandleRef rootHwnd = WindowsFormsUtils.GetRootHWnd(ownerToolStrip);
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
256return (WindowsFormsUtils.GetRootHWnd(control1).Handle == WindowsFormsUtils.GetRootHWnd(control2).Handle); 1641HandleRef rootWindowOfToolStrip = WindowsFormsUtils.GetRootHWnd(topMostToolStrip); 1642HandleRef rootWindowOfControl = WindowsFormsUtils.GetRootHWnd(activeControl); 1745HandleRef topmostParentOfMenu = WindowsFormsUtils.GetRootHWnd(menuStripToActivate);