Resend: Fix toolbar getstyle

BELLENGE Maxime FTRD/DMI/REN maxime.bellenge at francetelecom.com
Thu May 6 06:57:21 CDT 2004


As I got no comments on this patch and it is not applied, I resend it. Tell me if someone sees something wrong.

A+

Max

Here is a revised version of my patch for toolbar getstyle. 
After testing under windows xp, I found that the wParam and lParam of the TB_GETSTYLE are really unused. Now TOOLBAR_GetStyle returns as it should do, the style of the toolbar and not the style of a button. 

Moreover, thanks to the help of Gé Van Geldorp, this patch fixes also the case where the toolbar could be invisible if an app was doing something like : SendMessage(hwndTB, TB_SETSTYLE, 0, SendMessage(hwndTB, TB_GETSTYLE, 0, 0) | TBSTYLE_FLAT ); 

Changelog: 
     * Fix TB_GETSTYLE message to return the style of the toolbar and not the style of a button. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbargetstyle.patch
Type: application/octet-stream
Size: 734 bytes
Desc: toolbargetstyle.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040506/2ffdf3db/toolbargetstyle.obj


More information about the wine-patches mailing list