comctl32/listview: update dwStyle before checking for scrollbar

Nikolay Sivov nsivov at codeweavers.com
Sat Sep 22 02:01:26 CDT 2012


On 9/21/2012 23:07, Daniel Jelinski wrote:

> dwStyle is updated only in WM_STYLECHANGED, which is not sent
> when displaying and hiding scrollbars.
> Fixes the issue where there was a large margin between items
> and horizontal scrollbar (e.g. in file open dialog).
Are you sure it's really not supposed to be sent when 
WS_HSCROLL/WS_VSCROLL bits are changed?
A quick test with ControlSpy shows style changing messages when I 
set/reset these. So it's possible there's a bug
outside of comctl32.



More information about the wine-devel mailing list