Re: comctl32/listview: update dwStyle before checking for scrollbar

2012-09-22 Thread Daniel Jelinski
2012/9/22 Nikolay Sivov : > I see. Now a question is how scroll bars are enabled/disabled in a case > you're trying to fix, > and a message test should be added for listview after that. What I'm seeing > - ControlSpy > running on XP shows style change messages after I toggle scrollbar bits, but > w

Re: comctl32/listview: update dwStyle before checking for scrollbar

2012-09-22 Thread Nikolay Sivov
On 9/22/2012 20:41, Daniel Jelinski wrote: Hello Nikolay, I'm not sure. There are some tests: http://source.winehq.org/source/dlls/user32/tests/msg.c#L1613 Comments indicate that some systems send WM_STYLECHANGED to windows with non-client area, and no systems send it to windows without it. I hav

Re: comctl32/listview: update dwStyle before checking for scrollbar

2012-09-22 Thread Daniel Jelinski
Hello Nikolay, I'm not sure. There are some tests: http://source.winehq.org/source/dlls/user32/tests/msg.c#L1613 Comments indicate that some systems send WM_STYLECHANGED to windows with non-client area, and no systems send it to windows without it. I haven't figured out yet if the comment is true o