[Bug 3928] EnunChildWindows fails to find a child window who did setParent

Wine Bugs wine-bugs at winehq.org
Mon Nov 28 13:48:19 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=3928





------- Additional Comments From andrew7webb at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list