http://bugs.winehq.org/show_bug.cgi?id=20695
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #13 from Andrew Eikum aeikum@codeweavers.com 2012-02-09 14:21:12 CST --- The problem here is SetScrollInfo can set the scrollbar's flags, but doesn't En/Disable the scrollbar itself. So the flags and actual window state are not in sync and we end up with this sequence:
EnableScrollBar(ESB_DISABLE_BOTH) infoPtr->flags = ESB_DISABLE_BOTH EnableWindow(FALSE)
SetScrollInfo(...) ... infoPtr->flags = ESB_ENABLE_BOTH
EnableScrollBar(ESB_ENABLE_BOTH) infoPtr->flags == ESB_ENABLE_BOTH => return
So some possible fixes: *) SetScrollInfo() is setting the flags incorrectly, or *) EnableScrollBar() should use some other method to determine if EnableWindow() needs to be called, or *) SetScrollInfo() should En/Disable the window to keep the flags in sync
I'll keep looking, but thought maybe something would be obvious to Nikolay.