[Bug 10544] New: treeview scrolling on collapsing is broken on windows

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 22 17:58:19 CST 2007


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

           Summary: treeview scrolling on collapsing is broken on windows
           Product: Wine
           Version: unspecified
          Platform: PC-x86-64
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-comctl32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: timo.kreuzer at web.de


when using comctl32.dll on windows and use for example regedit with it, then
collapsing of treeview items messes up the treeview.
This is due to not using any ClipRegion in ScrollWindowEx when collapsing.
Maybe there's also a bug in ScrollWindowEx.

To fix, simply replace

        ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, NULL,
                       NULL, NULL, SW_ERASE | SW_INVALIDATE);

with

        ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, &scrollRect,
                       NULL, NULL, SW_ERASE | SW_INVALIDATE);

in TREEVIEW_Collapse()


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list