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