[Bug 3928] EnunChildWindows fails to find a child window who did setParent
http://bugs.winehq.org/show_bug.cgi?id=3928 ------- Additional Comments From andrew7webb(a)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.
participants (1)
-
Wine Bugs