5 references to IsChildOrSameWindow
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
1258&& !IsChildOrSameWindow(hwndCurrentActiveWindow, hwndActiveToolStrip) // and NOT a child of the active toolstrip 1259&& !IsChildOrSameWindow(hwndCurrentActiveWindow, ActiveHwnd)) { // and NOT a child of the active hwnd 1286if (!IsChildOrSameWindow(hwndActiveToolStrip, new HandleRef(null, m.HWnd))) { 1292&& (IsChildOrSameWindow(new HandleRef(toplevelToolStrip, toplevelToolStrip.Handle), 1301else if (!IsChildOrSameWindow(ActiveHwnd, new HandleRef(null, m.HWnd))) {