mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
user32: RealChildWindowFromPoint should skip invisible windows.
This commit is contained in:
parent
8c7f3964b5
commit
ea7e9ed2eb
2 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
Loading…
Reference in a new issue