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

Wine Bugs wine-bugs at winehq.org
Tue Nov 29 10:08:25 CST 2005


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





------- Additional Comments From andrew7webb at comcast.net  2005-29-11 10:08 -------
Actually, it might confirm the theory.

        "EnumChildWindows should have returned FALSE\n" );
     ok( numChildren == 2, "numChildren should be 2 got %d\n", numChildren );

>>>  I have 2 windows now, since ok did not find an error.

+    DestroyWindow( child );

>>>  I should have 1 window now.

+    child = create_tool_window( WS_VISIBLE | WS_OVERLAPPEDWINDOW, owner );

>>>  I should have 2 windows now.

+    numChildren = 0;
+    ok( EnumChildWindows( owner, EnumChildProc, (LPARAM)&numChildren ),
+        "EnumChildWindows should have returned TRUE\n" );
+    ok( numChildren == 1, "numChildren should be 1 got %d\n", numChildren );

>>>  But you check for 1 window, and there should be two now.
>>>  So what happened to the newly created window ?

     DestroyWindow( child );
+


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