Commit ea7e9ed2 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

user32: RealChildWindowFromPoint should skip invisible windows.

parent 8c7f3964
......@@ -7038,9 +7038,9 @@ static void test_child_window_from_point(void)
DestroyWindow(parent);
todo_wine
ok(!found_invisible, "found %d invisible windows\n", found_invisible);
ok(found_disabled, "found %d disabled windows\n", found_disabled);
todo_wine
ok(found_groupbox == 4, "found %d groupbox windows\n", found_groupbox);
ok(found_httransparent, "found %d found_httransparent windows\n", found_httransparent);
todo_wine
......
......@@ -376,7 +376,7 @@ HWND WINAPI ChildWindowFromPoint( HWND hwndParent, POINT pt )
*/
HWND WINAPI RealChildWindowFromPoint( HWND hwndParent, POINT pt )
{
return ChildWindowFromPointEx( hwndParent, pt, CWP_SKIPTRANSPARENT );
return ChildWindowFromPointEx( hwndParent, pt, CWP_SKIPTRANSPARENT | CWP_SKIPINVISIBLE );
}
/*******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment