http://bugs.winehq.org/show_bug.cgi?id=12553
--- Comment #17 from Dmitry Timoshkov dmitry@codeweavers.com 2009-02-25 22:39:14 --- (In reply to comment #16)
Well, somehow Winspector shows correct styles, which is odd, since REBAR_StyleChanged does rewrite both dwStyle and orgStyle. And after I update the styles via Winspector, as I said rebars behave well. Native comctl32.dll seems to avoid this somehow.
That means that REBAR_StyleChanged handler should be removed, and an original style (the window was created with) should be used.