internal override IntPtr GetParent(IntPtr handle) { Hwnd hwnd; hwnd = Hwnd.ObjectFromHandle(handle); if (hwnd != null && hwnd.Parent != null) { return hwnd.Parent.Handle; } return IntPtr.Zero; }