http://bugs.winehq.org/show_bug.cgi?id=3928
------- Additional Comments From andrew7webb@comcast.net 2005-28-11 13:48 ------- If line 810 in the dlls/user/win.c function WIN_EnumChildWindows():
if(GetWindow( *list, GW_OWNER )) continue;
is removed, then the sample winelib executable will work.
The output is then: "EnumChildWindows EnumChild found Dockable WidgetWindoow returned false."
which proves that the EnumChildProc was called with "Dockable WidgetWindow" this time. The program exits correctly after FALSE was returned by EnumChildProc indicating that it found the desired window.
So unless there is a good reason for skipping "owned" windows in EnumChildWindows, I think this line should be removed. I don't see any justification for that line in Microsoft's definition of EnumChildWindows.