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

Wine Bugs wine-bugs at winehq.org
Thu Nov 24 13:30:30 CST 2005


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

           Summary: EnunChildWindows fails to find a child window who did
                    setParent
           Product: Wine
           Version: 0.9.1.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: andrew7webb at comcast.net


PROBLEM:
EnunChildWindows() fails to find a child window who did setParent().

There are two windows, "WidgetTest2" and "DockingWidget".
"DockingWidget" is created with "WidgetTest2" as its parent.
 
"WidgetTest2" later calls 
	EnumChildWindows( This->handle(), EnumChildProc, (LPARAM)0 )
	
But although EnumChildWindows returns true, EnumChildProc is never called.


WINE OUTPUT OF PROGRAM:
"EnumChildWindows returned true"

WINDOWS OUTPUT OF PROGRAM:
I can break on the DestroyWindow( hwndChild ); inside EnumChildProc().


HOW TO REPRODUCE THE PROBLEM:
Run either the WINE or windows program and try to close the outer window.
On windows the program will exit,
but on WINE it hangs because the docked window is not destroyed.

-- 
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